aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-26Reload MainActivity after login success.Alex Ning2-31/+37
2019-02-26Add two features: refresh searching and searching in SearchActivity. Fixed a ↵Alex Ning10-88/+179
bug which is the listener object is null when it is called because the parse failed in ParsePost, ParseSubredditData and ParseUserData.
2019-02-23Add a feature: Search for users. Change some names of interfaces and methods.Alex Ning17-96/+795
2019-02-23Add a feature: Search for users. Fixed calling callback.onResult twice when ↵Alex Ning18-106/+924
loading user's posts.
2019-02-22Change SearchView style in MainActivity. Solve tab layout covering fragments ↵Alex Ning1-3/+0
in viewpager in SearchActivity.
2019-02-22Load parent-level comments using pagination. Only load comments of comments ↵Alex Ning6-55/+84
once more.
2019-02-22Add a feature: Searching for posts.Alex Ning5-30/+137
2019-02-22Add a search view in MainActivity and add a SearchActivity.Alex Ning3-17/+175
2019-02-21Migrate to AndroidXAlex Ning29-117/+114
2019-02-21Use another GifImageView library.Alex Ning6-204/+7
2019-02-21Fixed loading more comments even though there are no more comments.Alex Ning2-2/+3
2019-02-21Load comments of comments one more time, just like parent-level comments.Alex Ning2-9/+45
2019-02-20Temporarily use the old way to load comments instead of Paging library. Load ↵Alex Ning6-136/+236
more parent-level comments once. Loading comments of comments is now working.
2019-02-12Load All comments of a post using paging library. Loading comments of ↵Alex Ning11-58/+864
comments is now broken.
2019-01-24Fixed vote status cannot be shown on posts loaded from specific subreddits ↵Alex Ning6-41/+43
or users.
2019-01-22Enlarge the area which contains subreddit or user name and icon for easier ↵Alex Ning3-35/+77
touching in ViewPostDetailActivity. Fixed subreddit icon cannot be loaded in ViewPostDetailActivity. Smoothly play gif subreddit icon in ViewPostDetailActivity.
2019-01-22Fixed the user's posts cannot be loaded. Refreshing in MainActivity also ↵Alex Ning6-154/+205
refreshes user info, subscribed users and subreddits. Enlarge the area which contains subreddit or user name and icon for easier touching.
2019-01-21Fixed infinite loading duplicate posts when there is no more posts to load. ↵Alex Ning2-112/+122
Minor bugs fixed. Minor layout tweaks.
2019-01-21Added feature: View users' best posts.Alex Ning11-179/+301
2019-01-21Click user names in comment to view the user's details. Minor visual redesign.Alex Ning2-1/+10
2019-01-21Click subreddit names and user names in post content and comment content to ↵Alex Ning4-150/+194
start ViewSubredditDetailActiviy and ViewUserDetailActivity respectively. Use Chrome custom tab to open URL in post content and comment content.
2019-01-11Display the Follow Chip only if the user can be followed. Change schemes of ↵Alex Ning5-86/+85
database users.
2019-01-11Following and unfollowing users are now properly implemented.Alex Ning4-4/+2
2019-01-11Resolve issues related to renaming User class to UserData class.Alex Ning1-1/+1
2019-01-11View user details in ViewUserDetailActivity. Follow or unfollow user is not ↵Alex Ning14-48/+605
properly implemented right now. Change users and subscribed_users databases' schemes. Press Profile in navigation drawer to view my reddit info. Press the username in the post to view that account's info.
2019-01-09Use MarkwonView (a markdown library) instead of HtmlTextView to display post ↵Alex Ning2-17/+16
content and comments.
2019-01-07New feature: Subscribe or unsubscribe to a subreddit. Allow clear text ↵Alex Ning14-563/+634
traffic in Android Pie. Rewrite some code in lambda.
2019-01-04Minor UI tweaks.Alex Ning2-20/+34
2019-01-01Display user name and user icon in each post when loading posts in specific ↵Alex Ning13-152/+362
subreddits.
2018-12-30Refreshing posts is working now.Alex Ning3-20/+17
2018-12-29Error handling for loading posts now works again. Don't show refresh button ↵Alex Ning6-190/+195
as an icon. Rewrite some code.
2018-12-27Display a MaterialLoadingProgressBar instead of a ProgressBar when loading ↵Alex Ning5-29/+42
posts. Correctly handle the visibility of the MaterialLoadingProgressBar when loading posts.
2018-12-27Move several classes to other packages.Alex Ning25-510/+33
2018-12-27Loading best posts in specific subreddits is now working.Alex Ning5-75/+203
2018-12-27Use Android Paging Library to load and display best posts. Loading best ↵Alex Ning8-519/+368
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-22Use GifImageView to display all the images in order to prevent slow playing ↵Alex Ning5-31/+169
of the gifs. Extend GifImageView as AspectRatioGifImageView to retain the features of AspectRatioImageView.
2018-12-12Use notifyItemRangeInserted when appropriate in order to avoid reloading the ↵Alex Ning5-15/+24
whole dataset. Change bur transformation parameter for NSFW preview.
2018-11-09Use MVVM design pattern to load and display the posts. Minor bugs fixed.Alex Ning8-331/+356
2018-11-08Minor layout tweaks.Alex Ning4-14/+8
2018-10-28Use AspectRatiotImageView instead of ImageView to fully display the preview ↵Alex Ning5-23/+91
images of posts and prevent scrolling jump in PostFragment and ViewPostDetailActivity.
2018-10-27Close the navigation drawer after clicking the item in it. Fix some logic ↵Alex Ning7-35/+76
related to post parsing.
2018-10-26Bind views using ButterKnife. Let volume controls adjust music stream in ↵Alex Ning5-124/+136
ViewVideoActivity.
2018-10-19Move refreshAccessToken method from RefreshAccessToken class to ↵Alex Ning7-149/+85
AccessTokenAuthenticator class. Bind views using Butterknife in PostRecyclerViewAdapter and CommentMultiLevelRecyclerViewAdapter.
2018-10-14Use OkHttp3 Authenticator instead of OkHttp Interceptor to handle the case ↵Alex Ning15-336/+221
when the request fails with code 401. Refresh the access token in a synchronized block to avoid getting more than one access tokens and getting duplicate posts when performing multiple unauthorized requests. Minor bugs fixed.
2018-10-12Use Dagger 2 to inject the Retrofit singleton to classes. Minor bugs fixed.Alex Ning19-132/+231
2018-10-05Display a crosspost icon if the post is a crosspost. Hide the thumbtack icon ↵Alex Ning6-57/+80
if the post is not viewed in its subreddit. Tweak the post layout. Minor bugs fixed.
2018-10-01Add an error view when loading the image fails in ViewImageActivity.Alex Ning1-29/+80
2018-09-28Change the layout of post. Add an error view when loading the preview image ↵Alex Ning2-41/+93
fails.
2018-09-28Fixed a bug which causes the LastItemSynchronizer object in ↵Alex Ning5-59/+73
PaginationSynchronizer becomes null when the app is reopened after it was killed. Prepare to use Dagger 2 to manage Retrofit singleton.
2018-09-24Add a feature which is refreshing the posts by clicking the refresh button. ↵Alex Ning8-89/+147
Minor bugs fixed. Rewrite some code.