diff options
Diffstat (limited to 'app/src/main/res')
4 files changed, 34 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_multi_reddit_listing.xml b/app/src/main/res/layout/activity_multi_reddit_listing.xml index 7a5deacb..322f4b30 100644 --- a/app/src/main/res/layout/activity_multi_reddit_listing.xml +++ b/app/src/main/res/layout/activity_multi_reddit_listing.xml @@ -31,11 +31,18 @@ </com.google.android.material.appbar.AppBarLayout> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_multi_reddit_listing_activity" + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_multi_reddit_listing_activity" android:layout_width="match_parent" android:layout_height="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_multi_reddit_listing_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/fetch_multi_reddit_listing_info_linear_layout_multi_reddit_listing_activity" diff --git a/app/src/main/res/layout/fragment_followed_users_listing.xml b/app/src/main/res/layout/fragment_followed_users_listing.xml index adddb913..071e9e72 100644 --- a/app/src/main/res/layout/fragment_followed_users_listing.xml +++ b/app/src/main/res/layout/fragment_followed_users_listing.xml @@ -5,11 +5,18 @@ android:layout_height="match_parent" tools:application=".FollowedUsersListingFragment"> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_followed_users_listing_fragment" + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_followed_users_listing_fragment" android:layout_width="match_parent" - android:layout_height="match_parent" - android:clipToPadding="false" /> + android:layout_height="match_parent"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_followed_users_listing_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" /> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/no_subscriptions_linear_layout_followed_users_listing_fragment" diff --git a/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml b/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml index 3ff79487..139c8902 100644 --- a/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml +++ b/app/src/main/res/layout/fragment_subscribed_subreddits_listing.xml @@ -5,11 +5,18 @@ android:layout_height="match_parent" tools:application=".SubscribedSubredditsListingFragment"> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_subscribed_subreddits_listing_fragment" + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/swipe_refresh_layout_subscribed_subreddits_listing_fragment" android:layout_width="match_parent" - android:layout_height="match_parent" - android:clipToPadding="false" /> + android:layout_height="match_parent"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_subscribed_subreddits_listing_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" /> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> <LinearLayout android:id="@+id/no_subscriptions_linear_layout_subreddits_listing_fragment" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 23bd47be..366a6980 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -375,4 +375,6 @@ <string name="elapsed_time_years_ago">%1$d Years</string> <string name="error_getting_multi_reddit_data">Error getting multireddit data</string> + <string name="error_loading_multi_reddit_list">Cannot sync multireddits</string> + <string name="error_loading_subscriptions">Cannot sync subscriptions</string> </resources> |