Commit c3d41506 authored by fengruiyu's avatar fengruiyu

修改下拉刷新的功能

parent baf8b446
......@@ -16,6 +16,12 @@
android:layout_height="match_parent"
app:srlAccentColor="@color/gray"
app:srlPrimaryColor="@color/white">
<com.scwang.smartrefresh.layout.header.ClassicsHeader
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srlTextFailed="释放立即刷新"
app:srlTextRefreshing="下拉可以刷新"
/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_view"
android:layout_width="match_parent"
......
......@@ -16,6 +16,12 @@
android:layout_height="match_parent"
app:srlAccentColor="@color/gray"
app:srlPrimaryColor="@color/white">
<com.scwang.smartrefresh.layout.header.ClassicsHeader
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srlTextFailed="释放立即刷新"
app:srlTextRefreshing="下拉可以刷新"
/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_view"
android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment