activity布局文件内: <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="@dimen/dp_10" android:layout_weight="1"> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerview_inventory_list" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/color_bg_gray" android:fadingEdge="none" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <TextView android:id="@+id/tvNoData
Android上拉加载下拉刷新分页处理
最新推荐文章于 2024-03-15 17:00:25 发布