recyclerview:
implementation 'androidx.recyclerview:recyclerview:1.0.0'
v4,v7等: com.android.support:appcompat-v7:28.0.0
implementation 'androidx.appcompat:appcompat:1.2.0'
viewpager2:
implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
cardview等 design com.android.support:design:28.0.0:
implementation 'com.google.android.material:material:1.3.0-alpha02'
com.android.support:support-v4:28.0.0 ->implementation 'androidx.legacy:legacy-support-v4:1.0.0
'com.android.support.constraint:constraint-layout:1.1.2' -> implementation 'androidx.constraintlayout:constraintlayout:1.1.3
协程 :下面那个依赖是用在安卓上的调度器,如果没有依赖会报错误
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7"