其他分享
首页 > 其他分享> > Androidx常用依赖,整理对照

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

标签:依赖,room,androidx,implementation,Androidx,对照,release,lifecycle,latest
来源: https://blog.csdn.net/zzy1147/article/details/121424645