先看看基本功能:BasicUsingActivity
布局文件:
<com.scwang.smartrefresh.layout.SmartRefreshLayout android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="match_parent"> <ListView android:id="@+id/listview" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" tools:listitem="@android:layout/simple_list_item_2"/> <com.scwang.smartrefresh.layout.footer.Classic