Androidx常用依赖,整理对照


    /****
     *
     * AndroidX libs
     */

    implementation 'androidx.annotation:annotation:1.0.0-rc01'
    implementation 'androidx.appcompat:appcompat:latest.release'
    implementation 'androidx.arch.core:core-common:latest.release'
    implementation 'androidx.arch.core:core-runtime:latest.release'
    implementation 'androidx.collection:collection:latest.release'

    implementation 'androidx.core:core-ktx:latest.release'
    implementation 'androidx.core:core:latest.release'
    implementation 'androidx.cursoradapter:cursoradapter:latest.release'
    implementation 'androidx.customview:customview:latest.release'
    implementation 'androidx.databinding:databinding-adapters:latest.release'
    implementation 'androidx.databinding:databinding-common:latest.release'
    implementation 'androidx.databinding:databinding-compiler-common:latest.release'
    implementation 'androidx.databinding:databinding-compiler:latest.release'
    implementation 'androidx.databinding:databinding-runtime:latest.release'
    implementation 'androidx.documentfile:documentfile:latest.release'

    implementation 'androidx.interpolator:interpolator:latest.release'
    implementation 'androidx.leanback:leanback:latest.release'
    implementation 'androidx.legacy:legacy-support-core-ui:latest.release'
    implementation 'androidx.legacy:legacy-support-core-utils:latest.release'
    implementation 'androidx.legacy:legacy-support-v13:latest.release'
    implementation 'androidx.legacy:legacy-support-v4:latest.release'

    //lifecycle
    implementation 'androidx.lifecycle:lifecycle-common:latest.release'
    implementation 'androidx.lifecycle:lifecycle-compiler:latest.release'
    implementation 'androidx.lifecycle:lifecycle-extensions:latest.release'
    implementation 'androidx.lifecycle:lifecycle-livedata-core:latest.release'
    implementation 'androidx.lifecycle:lifecycle-livedata:latest.release'
    implementation 'androidx.lifecycle:lifecycle-process:latest.release'
    implementation 'androidx.lifecycle:lifecycle-runtime:latest.release'
    implementation 'androidx.lifecycle:lifecycle-service:latest.release'
    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:latest.release'
    implementation 'androidx.lifecycle:lifecycle-viewmodel:latest.release'

    //loader
    implementation 'androidx.loader:loader:latest.release'
    implementation 'androidx.localbroadcastmanager:localbroadcastmanager:latest.release'

    //media
    implementation 'androidx.media:media:latest.release'

    //multidex
    implementation 'androidx.multidex:multidex-instrumentation:latest.release'
    implementation 'androidx.multidex:multidex:latest.release'

    //paging
    implementation 'androidx.paging:paging-common:latest.release'
    implementation 'androidx.paging:paging-runtime:latest.release'

    //preference
    implementation 'androidx.preference:preference:latest.release'

    // print
    implementation 'androidx.print:print:latest.release'

    // room database
    implementation 'androidx.room:room-common:latest.release'
    implementation 'androidx.room:room-compiler:latest.release'
    implementation 'androidx.room:room-migration:latest.release'
    implementation 'androidx.room:room-runtime:latest.release'
    implementation 'androidx.room:room-rxjava2:latest.release'
    implementation 'androidx.room:room-testing:latest.release'
    //sqlite
    implementation 'androidx.sqlite:sqlite-framework:latest.release'
    implementation 'androidx.sqlite:sqlite:latest.release'

    //ui
    implementation 'androidx.recyclerview:recyclerview:latest.release'
    implementation 'androidx.slidingpanelayout:slidingpanelayout:latest.release'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:latest.release'
    implementation 'androidx.viewpager:viewpager:latest.release'
    implementation 'androidx.asynclayoutinflater:asynclayoutinflater:latest.release'
    implementation 'androidx.browser:browser:latest.release'
    implementation 'androidx.cardview:cardview:latest.release'
    implementation 'androidx.constraintlayout:constraintlayout-solver:latest.release'
    implementation 'androidx.constraintlayout:constraintlayout:latest.release'
    implementation 'androidx.coordinatorlayout:coordinatorlayout:latest.release'
    implementation 'androidx.drawerlayout:drawerlayout:latest.release'
    implementation 'androidx.fragment:fragment-ktx:latest.release'
    implementation 'androidx.fragment:fragment:latest.release'
    //percentlayout
    implementation 'androidx.percentlayout:percentlayout:latest.release'

    //test
    implementation 'androidx.test.espresso:espresso-core:latest.release'
    implementation 'androidx.test.espresso:espresso-idling-resource:latest.release'
    implementation 'androidx.test:monitor:latest.release'
    implementation 'androidx.test:rules:latest.release'
    implementation 'androidx.test:runner:latest.release'

    //transition
    implementation 'androidx.transition:transition:latest.release'

    //auto & tv & wear
    implementation 'androidx.tvprovider:tvprovider:latest.release'

    //vector
    implementation 'androidx.vectordrawable:vectordrawable:latest.release'
    implementation 'androidx.vectordrawable:vectordrawable-animated:latest.release'
    implementation 'androidx.versionedparcelable:versionedparcelable:latest.release'
————————————————
版权声明:本文为CSDN博主「Sky15171」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/lin1363600/article/details/82256443

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值