Commit Graph

111 Commits

Author SHA1 Message Date
Alex Ning
a6a951732d Change some methods related to parsing data to static methods. Preparing to use Retrofit to send API requests. Already made a change to use Retrofit to fetch comments. 2018-08-27 23:05:56 +08:00
Alex Ning
41b243be7d Display the number of gold given to the post. 2018-08-26 14:51:13 +08:00
Alex Ning
80058ff6ab Load comment and post content text in HTML form instead of String. Fixed a bug that the icon of subreddits was not parsed properly in ParseSubredditData class. 2018-08-21 00:08:48 +08:00
Alex Ning
0fa03cba21 Rename some classes and layout resources. Feature added: view posts in ViewSubredditDetailActivity. 2018-08-20 22:33:00 +08:00
Alex Ning
23bf92d9cf Added feature: Vote in ViewPostDetailActivity. Fix some behavior after the vote fails. 2018-08-19 00:03:56 +08:00
Alex Ning
cca0313990 Load user info after the new access token is retrieved if the old access token expired. Feature added: vote comment 2018-08-18 09:22:31 +08:00
Alex Ning
c6026e5659 Fetch the subreddit info and save it to the database. Solve a bug that cannot create a instance of SubredditViewModel. 2018-08-05 12:26:50 +08:00
Alex Ning
9334d3860e Preparing to fetch the subreddit info and save it to the database. 2018-08-01 00:15:58 +08:00
Alex Ning
ddc7b36e72 Save subscribed subreddits and users to the SQLite database by using Room Persistence Library. Add a following section in the navigation drawer to display all the followed users. Add a NestedScrollView in the navigation drawer to wrap all the elements. Disable nested scrolling feature in all the RecyclerViews in the navigation drawer. 2018-07-29 20:25:55 +08:00
Alex Ning
e3653eb503 Add a RecyclerView for subscribed subreddits in navigation drawer, rewrite some code and minor bugs fixed 2018-07-28 13:45:01 +08:00
Alex Ning
1f2137dd36 First commit 2018-07-26 23:04:44 +08:00