feat: 优化联系人列表刷新冲突,联系人列表先缓存后网络

This commit is contained in:
2026-06-01 07:54:44 +08:00
parent 1f6832ac17
commit d7346e478a
4 changed files with 32 additions and 52 deletions

View File

@@ -37,8 +37,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:singleLine="true"
android:onClick="@{click::testContact}"
android:singleLine="true"
android:text="联系人"
android:textColor="@color/black"
android:textSize="@dimen/sp_22"
@@ -72,8 +72,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
android:layout_height="match_parent" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>