aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Load user info after the new access token is retrieved if the old access ↵Alex Ning2018-08-181-2/+4
| | | | token expired. Feature added: vote comment
* Fixed a bug which causes the app to crash when there is no comment in a ↵Alex Ning2018-08-113-0/+25
| | | | post. Add a no comment placeholder which is displayed when there is no comment in a post.
* Fetch a new access token in onCreate method of MainActivity when the old ↵Alex Ning2018-08-052-2/+4
| | | | access token is about to expire, specifically, to expire within the next 5 minutes or is already expired to avoid refreshing the access token many times by other queries later.
* Fetch the subreddit info and save it to the database. Solve a bug that ↵Alex Ning2018-08-052-17/+33
| | | | cannot create a instance of SubredditViewModel.
* Add the ViewSubredditActivity. Add a OnClickListener in the subscribed ↵Alex Ning2018-07-306-0/+218
| | | | subreddits RecyclerView to lauch the ViewSubredditActivity.
* Add a scroll bar in the navigation drawerAlex Ning2018-07-291-1/+2
|
* Save subscribed subreddits and users to the SQLite database by using Room ↵Alex Ning2018-07-292-51/+71
| | | | 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.
* Add a RecyclerView for subscribed subreddits in navigation drawer, rewrite ↵Alex Ning2018-07-283-6/+77
| | | | some code and minor bugs fixed
* Add RecyclerView for subscribed subreddits in navigation drawer and rewrite ↵Alex Ning2018-07-285-47/+11
| | | | some code
* First commitAlex Ning2018-07-2698-0/+1361