Android SmartRefreshLayout pull-down refresh pull-up loading animation does not move

After tossing and tossing for a long time, the logic that should go is all going well, but the animation effect is not pissed off. I deleted it bit by bit, and finally found that it was caused by classes with the same name and different packages. See clearly and don’t dig pits.
Error
demonstration

    <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"/>

correct`

    <com.scwang.smartrefresh.layout.SmartRefreshLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

ok I hope you don’t step on the pit

Guess you like

Origin blog.csdn.net/qq_39178733/article/details/107732424