Alex Ning
|
d733be6e55
|
Fixed the user's posts cannot be loaded. Refreshing in MainActivity also refreshes user info, subscribed users and subreddits. Enlarge the area which contains subreddit or user name and icon for easier touching.
|
2019-01-22 18:45:02 +08:00 |
|
Alex Ning
|
86bc381906
|
Click subreddit names and user names in post content and comment content to start ViewSubredditDetailActiviy and ViewUserDetailActivity respectively. Use Chrome custom tab to open URL in post content and comment content.
|
2019-01-21 16:50:10 +08:00 |
|
Alex Ning
|
f0b149ce82
|
Use MarkwonView (a markdown library) instead of HtmlTextView to display post content and comments.
|
2019-01-09 10:05:20 +08:00 |
|
Alex Ning
|
38be0ba01f
|
New feature: Subscribe or unsubscribe to a subreddit. Allow clear text traffic in Android Pie. Rewrite some code in lambda.
|
2019-01-07 19:03:49 +08:00 |
|
Alex Ning
|
9d729579bf
|
Minor UI tweaks.
|
2019-01-04 16:02:11 +08:00 |
|
Alex Ning
|
f529bba550
|
Refreshing posts is working now.
|
2018-12-30 21:54:44 +08:00 |
|
Alex Ning
|
b7e1d92c7e
|
Error handling for loading posts now works again. Don't show refresh button as an icon. Rewrite some code.
|
2018-12-29 13:38:18 +08:00 |
|
Alex Ning
|
93a9ad9ece
|
Display a MaterialLoadingProgressBar instead of a ProgressBar when loading posts. Correctly handle the visibility of the MaterialLoadingProgressBar when loading posts.
|
2018-12-27 15:14:10 +08:00 |
|
Alex Ning
|
45f67457fa
|
Use Android Paging Library to load and display best posts. Loading best posts in a specific subreddit is broken. Fixed a bug which is PostViewModel's data becoming null after the app restart. Add notch support for Android Pie.
|
2018-12-27 11:29:02 +08:00 |
|
Alex Ning
|
60b659e651
|
Use GifImageView to display all the images in order to prevent slow playing of the gifs. Extend GifImageView as AspectRatioGifImageView to retain the features of AspectRatioImageView.
|
2018-12-22 10:42:24 +08:00 |
|
Alex Ning
|
6e5a0e7ef3
|
Use AspectRatiotImageView instead of ImageView to fully display the preview images of posts and prevent scrolling jump in PostFragment and ViewPostDetailActivity.
|
2018-10-28 23:18:01 +08:00 |
|
Alex Ning
|
86ea4c8982
|
Bind views using ButterKnife. Let volume controls adjust music stream in ViewVideoActivity.
|
2018-10-27 00:06:35 +08:00 |
|
Alex Ning
|
8b52810d7c
|
Use Dagger 2 to inject the Retrofit singleton to classes. Minor bugs fixed.
|
2018-10-12 23:52:23 +08:00 |
|
Alex Ning
|
11ac14a3f1
|
Display a crosspost icon if the post is a crosspost. Hide the thumbtack icon if the post is not viewed in its subreddit. Tweak the post layout. Minor bugs fixed.
|
2018-10-05 14:28:14 +08:00 |
|
Alex Ning
|
17ccccfa0e
|
Add an error view when loading the image fails in ViewImageActivity.
|
2018-10-01 13:45:02 +08:00 |
|
Alex Ning
|
1bd9ba61c6
|
Change the layout of post. Add an error view when loading the preview image fails.
|
2018-09-28 14:49:49 +08:00 |
|
Alex Ning
|
cdcd5923fa
|
Fixed a bug which causes the LastItemSynchronizer object in PaginationSynchronizer becomes null when the app is reopened after it was killed. Prepare to use Dagger 2 to manage Retrofit singleton.
|
2018-09-28 09:18:28 +08:00 |
|
Alex Ning
|
bfb311d75f
|
Add a feature which is refreshing the posts by clicking the refresh button. Minor bugs fixed. Rewrite some code.
|
2018-09-24 17:03:57 +08:00 |
|
Alex Ning
|
fc356c6505
|
Disable the animation for finishing activity in ViewImageActivity and ViewVideoActivity. Fixed a bug that occurred when parsing posts finishes but the PostFragment is not added in any Activity (e.g. Activity finishes).
|
2018-09-22 10:45:38 +08:00 |
|
Alex Ning
|
5c51450a8e
|
Fixed a bug that the expand less button and the expand more button is not shown at the right time.
|
2018-09-03 16:17:51 +08:00 |
|
Alex Ning
|
06a692130c
|
Replace the RecyclerView for comments to MultiLevelRecyclerView in order to display the comment trees easily. Click the expand more button to expand the comment tree. Click the expand less button to hide the comment tree. Rewrite some code.
|
2018-09-03 00:05:42 +08:00 |
|
Alex Ning
|
6637cefc05
|
Blur the preview image if the post is NSFW. Tweak some layouts. Optimize some methods.
|
2018-08-30 21:18:21 +08:00 |
|
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 |
|