app/build.gradle
@@ -42,4 +42,7 @@ testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' //// 注意:分包之后不会有默认的Header和Footer需要手动添加!还是原来的三种方法! implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' //核心必须依赖 implementation 'com.scwang.smart:refresh-header-classics:2.0.1' //经典刷新头 }