implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'**
额外依赖:
//Retrofit 2.6.0以上支持协程
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
//打印拦截器
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
//gson解析
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
//recyclerview
implementation "androidx.recyclerview:recyclerview:1.2.1"
// glide
implementation 'com.github.bumptech.glide:glide:3.6.1'
//Fragment KTX (包含 Fragment KTX 和 ViewModel KTX 和 协程)
implementation "androidx.fragment:fragment-ktx:1.3.6"**