From 3fa6969b750cb0effa7b134e8b7a198f36692637 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 23 Feb 2019 10:12:26 +0800 Subject: Add a feature: Search for users. Fixed calling callback.onResult twice when loading user's posts. --- .../main/res/layout/fragment_subreddit_listing.xml | 47 +++++++++++++++++++++ app/src/main/res/layout/item_footer_error.xml | 8 ++-- app/src/main/res/layout/item_subreddit_listing.xml | 48 ++++++++++++++++++++++ app/src/main/res/values/strings.xml | 9 ++-- 4 files changed, 102 insertions(+), 10 deletions(-) create mode 100644 app/src/main/res/layout/fragment_subreddit_listing.xml create mode 100644 app/src/main/res/layout/item_subreddit_listing.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/fragment_subreddit_listing.xml b/app/src/main/res/layout/fragment_subreddit_listing.xml new file mode 100644 index 00000000..d6fba93a --- /dev/null +++ b/app/src/main/res/layout/fragment_subreddit_listing.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_footer_error.xml b/app/src/main/res/layout/item_footer_error.xml index bd653604..e1d3c14b 100644 --- a/app/src/main/res/layout/item_footer_error.xml +++ b/app/src/main/res/layout/item_footer_error.xml @@ -1,6 +1,6 @@