aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fetch a new access token in onCreate method of MainActivity when the old ↵Alex Ning2018-08-051-1/+0
| | | | 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-051-0/+2
| | | | cannot create a instance of SubredditViewModel.
* Add the ViewSubredditActivity. Add a OnClickListener in the subscribed ↵Alex Ning2018-07-302-0/+92
| | | | subreddits RecyclerView to lauch the ViewSubredditActivity.
* Save subscribed subreddits and users to the SQLite database by using Room ↵Alex Ning2018-07-291-0/+1
| | | | 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-281-0/+3
| | | | some code and minor bugs fixed
* First commitAlex Ning2018-07-265-0/+79