diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-08-30 06:08:02 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-08-30 06:08:02 +0000 |
commit | 4364e20e36aba6de96d25b237cac7c178a5e1980 (patch) | |
tree | 1738f18c8dcafcc3aff1a5b302eaa6febdb298b1 /app/src/main/res/values | |
parent | 3fa625742862f55e50799ec346fa35e81aedcd20 (diff) | |
download | infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar.gz infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar.bz2 infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar.lz infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar.xz infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.tar.zst infinity-for-reddit-4364e20e36aba6de96d25b237cac7c178a5e1980.zip |
Display a custom error view when there is something wrong when loading best posts. Probably fix a bug that holder.getAdapterPosition() returns -1 when loading subreddit icons in the RecyclerView of PostFragment. Subreddit banners are parsed correctly in ParseSubscribedThing. Check if the api call is successful in onResponse. Rewrite some methods.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2014e3bb..2b98acbb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -8,6 +8,8 @@ <string name="action_settings">Settings</string> <string name="action_download">Download</string> + <string name="load_posts_error">Error loading posts.\nTap to retry.</string> + <string name="load_data_failed">Cannot load posts</string> <string name="load_comment_failed">Error loading comments</string> <string name="retry">Retry</string> |