Commit Graph

75 Commits

Author SHA1 Message Date
7f2bc01180 Preparing to support multi user. Use the database to store accounts' info. LoginActivity is successfully refactored. Any other features are unavailable for now. 2019-08-07 10:54:47 +08:00
fe898a5c6c Create PostMediaService to submit video and image posts. 2019-08-06 17:35:54 +08:00
199690355b Filtering posts to specific type when the type chip is clicked in posts. Minor bugs fixed related to PostDataSource to continue loading posts. 2019-08-05 15:28:53 +08:00
0d1fcecde6 Searching subreddits to post is available. Use Toolbar instead of ActionBar in various activities. Minor bugs fixed. 2019-08-05 10:30:22 +08:00
f86f06ffe5 Create LinkResolverActivity to resolve the reddit links instead of resolving them in different activities. Deep link error handling is still broken. 2019-08-02 13:51:32 +08:00
47515b87d0 Use Brige library and Android-State library to avoid TransactionTooLargeException during state saving and restoration. Minor bugs fixed. 2019-08-01 00:29:29 +08:00
111ba8e5fc Sorting in SearchResultActivity is available. Switch DataSource instead of replacing fragments when changing sorting types. Minor bugs fixed. 2019-07-29 00:52:08 +08:00
40fc423b33 Use rounded corner bottom fragment. Tweak bottom sheet fragment UI. Change post type bottom sheet dialog to fragment. Exit SearchActivity no matter searchview is open or not. 2019-07-26 23:31:48 +08:00
1fc8423906 Sorting posts is now available. Minor bugs fixed. 2019-07-26 10:50:32 +08:00
2f15543f91 Add a ViewPager in ViewUserDetailActivity to display comments. Fixed searching posts without specifying subreddit will result in no posts. Use another api endpoint for fetching posts in ViewUserDetailActivity. 2019-07-22 00:09:40 +08:00
216228cf02 Add a search button in ViewSubredditDetailActivity and ViewUserDetailActivity. Search posts in a specific subreddit is available. Rename SearchActivity to SearchResultActivity. Add SearchActivity for searching instead of searching in MainActivity. 2019-07-18 23:59:14 +08:00
611d6a90ec Viewing rules after pressing rules button in PostXXXActivity is available. Extend MarkwonView to support opening reddit subreddit and user links. 2019-07-18 12:00:46 +08:00
ebf542161e Flair, spoiler and nsfw support for submitting posts. 2019-07-17 09:31:49 +08:00
e0212985f8 Sumbitting gif and video posts is now available. 2019-07-14 21:29:10 +08:00
de4b53ddf0 Preparing to submit image posts. 2019-07-13 00:05:38 +08:00
fcc34b45d4 Use a modal bottom sheet to display post selection instead of an alert dialog. Fixed some icons. 2019-07-12 11:31:28 +08:00
68d3a7b09f Submitting link posts is available. Fixed force stop when a user has no post in ViewUserDetailActivity. 2019-07-12 09:35:05 +08:00
bc91260e8a Place all the subscribed subreddits and users to SubscribedThingListingActivity instead of the navigation drawer in MainActivity. 2019-07-10 15:59:47 +08:00
117a33be3b Minor UI tweaks. Preparing for submitting text posts. 2019-07-09 17:47:40 +08:00
a22b491a30 Fixed bugs in CommentRecyclerViewAdapter. Minor layout tweaks. 2019-06-26 12:03:41 +08:00
25f2a35d22 Reimplemented parsing comments using recursion to parse all the child comments. Reimplemented CommentRecyclerView (some methods need proper implementation. Minor bugs fixed. 2019-06-18 00:01:15 +08:00
502cbe02ba Reply to comments. Preparing for comment deletion. 2019-06-14 18:14:49 +08:00
72d811186f Show a snackbar when sending comment and sending comment fails. Display the sent comment data after the comment is sent. 2019-06-14 11:58:52 +08:00
f69ae29bb9 Added a feature: Sending comments. 2019-06-14 10:30:26 +08:00
42c7b316f3 Add CommentActivity for sending comments (not implemented yet). Minor UI tweaks. 2019-06-13 12:16:04 +08:00
ef8daed571 Minor layout tweaks. Fixed action bar color in ViewPostDetailActivity in dark mode. 2019-06-11 19:59:23 +08:00
fe4ba7501e Refresh post in ViewPostDetailActivity. 2019-06-06 12:05:11 +08:00
7d8c497c77 Fixed UI problems introduced by dark theme. 2019-06-05 11:25:05 +08:00
1d294609f5 Unescape HTML for post content and comments. Minor UI fixes. 2019-04-26 21:53:32 +08:00
cd4730c649 Synchronizing voting state between PostRecyclerViewAdapter and ViewPostDetailActivity using EventBus by greenrobot. Minor bugs fixed. 2019-04-18 23:31:41 +08:00
246d4f45ab Fixed displaying wrong score when rapidly clicking vote buttons in PostRecyclerViewAdapter. 2019-04-18 17:18:19 +08:00
9530e1f497 Fixed user icon and user banner not displaying after user login. LoginActivity will not show page not found error after login finish. 2019-02-26 21:56:51 +08:00
0ea2b24c60 Add two features: refresh searching and searching in SearchActivity. Fixed a bug which is the listener object is null when it is called because the parse failed in ParsePost, ParseSubredditData and ParseUserData. 2019-02-26 09:27:51 +08:00
b1db59fda2 Add a feature: Search for users. Change some names of interfaces and methods. 2019-02-23 12:04:16 +08:00
3fa6969b75 Add a feature: Search for users. Fixed calling callback.onResult twice when loading user's posts. 2019-02-23 10:12:26 +08:00
ce4773230a Change SearchView style in MainActivity. Solve tab layout covering fragments in viewpager in SearchActivity. 2019-02-22 17:26:50 +08:00
1293eac5c8 Add a search view in MainActivity and add a SearchActivity. 2019-02-22 13:34:24 +08:00
82d97cf732 Migrate to AndroidX 2019-02-21 17:24:23 +08:00
2b0228ab47 Use another GifImageView library. 2019-02-21 13:21:32 +08:00
c00aaf04b9 Temporarily use the old way to load comments instead of Paging library. Load more parent-level comments once. Loading comments of comments is now working. 2019-02-20 22:13:26 +08:00
0d6296c1a4 Load All comments of a post using paging library. Loading comments of comments is now broken. 2019-02-12 14:37:36 +08:00
86570d4959 Enlarge the area which contains subreddit or user name and icon for easier touching in ViewPostDetailActivity. Fixed subreddit icon cannot be loaded in ViewPostDetailActivity. Smoothly play gif subreddit icon in ViewPostDetailActivity. 2019-01-22 22:28:05 +08:00
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
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
f0b149ce82 Use MarkwonView (a markdown library) instead of HtmlTextView to display post content and comments. 2019-01-09 10:05:20 +08:00
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
9d729579bf Minor UI tweaks. 2019-01-04 16:02:11 +08:00
f529bba550 Refreshing posts is working now. 2018-12-30 21:54:44 +08:00
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
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