Swipe to refresh in WikiActivity.

This commit is contained in:
Alex Ning
2021-08-02 17:43:17 +08:00
parent 722760254f
commit 5b29d2c841
2 changed files with 33 additions and 5 deletions

View File

@@ -32,13 +32,20 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/content_markdown_view_comment_wiki_activity"
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresh_layout_wiki_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingStart="16dp"
android:paddingEnd="16dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/content_markdown_view_comment_wiki_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingStart="16dp"
android:paddingEnd="16dp" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<LinearLayout
android:id="@+id/fetch_wiki_linear_layout_wiki_activity"