折腾了很久 该走的逻辑都走一切正常 但是动画效果就是没有 气死我了 一点一点删最后发现是有同名不同包的类导致的 气死
看清楚 不要采坑
错误示范
<com.scwang.smart.refresh.layout.SmartRefreshLayout
android:id="@+id/shopCar_refresh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/shopCar_title"/>
正确的 `
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent"/>
ok 希望大家少踩坑