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.

This commit is contained in:
Alex Ning
2018-08-30 14:08:02 +08:00
parent 3fa6257428
commit 4364e20e36
12 changed files with 172 additions and 110 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB