#3760 Convert SearchCategoriesFragment to use Pagination (#3770)

This commit is contained in:
Seán Mac Gillicuddy 2020-06-10 13:57:13 +01:00 committed by GitHub
parent 63ab4a25aa
commit f4d81eb4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 956 additions and 685 deletions

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="@dimen/tiny_gap">
<TextView
android:id="@+id/contentNotFound"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:visibility="gone" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/paginatedSearchResultsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbarSize="@dimen/standard_gap"
android:scrollbars="vertical" />
<ProgressBar
android:id="@+id/paginatedSearchInitialLoadProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true" />
</RelativeLayout>