AndroidX Dependencies

AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change

AndroidX Dependencies

AndroidX Dependencies

 
 
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
 
Here going to place all dependency and androidx library which is very useful and we no need google for each dependencies.
 
 
 implementation 'androidx.appcompat:appcompat:1.1.0'

// Constraint Layout
 implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

// Coordinator Layout
 implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0"
 
// material design snackbar, toolbar
implementation 'com.google.android.material:material:1.1.0'
 
// swipe refresh layout
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

// RecycleView
implementation "androidx.recyclerview:recyclerview:1.1.0"

 // custom tabs (Tab layout)
 implementation "androidx.browser:browser:1.2.0"


// support media
implementation "androidx.media:media:1.1.0"

 // enable multidex
//android {
//    defaultConfig {
 //          multiDexEnabled true
 //   }
// }
implementation 'androidx.multidex:multidex:2.0.1'

// Annotation
 implementation 'androidx.annotation:annotation:1.1.0'

// card view
  implementation 'androidx.cardview:cardview:1.0.0'

// percent layout
 implementation 'androidx.percentlayout:percentlayout:1.0.0'

 // Media Router

implementation "androidx.mediarouter:mediarouter:1.1.0"

// exo player
    implementation 'com.google.android.exoplayer:exoplayer-core:2.9.4'
    implementation 'com.google.android.exoplayer:exoplayer-hls:2.9.4'
    implementation 'com.google.android.exoplayer:exoplayer:2.8.2'
 
// retrofit (retrofitVersion = '2.2.0')
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-wire:$retrofitVersion"
implementation "com.squareup.retrofit2:adapter-rxjava:$retrofitVersion"
testImplementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"

//OkHttps (okhttpVersion = '3.12.0') 
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttpVersion"
implementation |"com.squareup.okhttp3:okhttp-urlconnection:$okhttpVersion"

 

// playservices
implementation 'com.google.android.gms:play-services-ads:19.0.0'
implementation 'com.google.android.gms:play-services-gcm:17.0.0'
implementation 'com.google.android.gms:play-services-auth:17.0.0'

implementation 'com.google.android.gms:play-services-base:17.1.0'
implementation 'com.google.android.gms:play-services-cast:18.1.0'

// firebase
implementation 'com.google.firebase:firebase-core:17.2.3'
implementation 'com.google.firebase:firebase-config:19.1.2'
implementation 'com.google.firebase:firebase-analytics:17.2.3'

// google ads
implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.18.0'
implementation 'com.google.android.gms:play-services-cast-framework:18.1.0'

 

I'll add more dependencies soon here.

 

Hope its work now, Please let me know in commect section.

Read More : https://developer.android.com/jetpack/androidx/migrate

-------------------------------------------------------------

Also, check out our Blogging for developers : 
Android Data Binding

But in the meantime, you can suggest me in comments for next ' Title '. please share your thoughts, tips with us, I'm sure you have a good points so please comment below or mail us at datanapps@gmail.com.

Please If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook.

Thank you so much, Have a great day !

Next week I’ll post  Kotlin Libs which is important for us in daily life.


Click Here To See More

What's Your Reaction?

like
1
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0