Android 权限
网络权限和网络状态
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Android 依赖库
//retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
//retrofit转换工具
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
//glide图片加载
implementation 'com.github.bumptech.glide:glide:4.11.0'
//下拉刷新
implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'
随时更新