Commit Graph

255 Commits

Author SHA1 Message Date
Alex Ning
968519b2eb Barebone swiping left or right to go to previous or next post in ViewPostDetailActivity. 2021-01-27 21:50:09 +08:00
Alex Ning
323af18c69 Version 4.2.2. 2021-01-24 11:00:06 +08:00
Alex Ning
0402a47090 Version 4.2.1. 2021-01-23 23:12:23 +08:00
Alex Ning
61b94718ef Version 4.2.0. 2021-01-23 10:45:28 +08:00
Alex Ning
ff067aab74 Version 4.2.0-beta2. New language: Polish. 2021-01-08 21:58:12 +08:00
Alex Ning
321f4da623 Long click the url to see more options. Make getRedditUriByPath in LinkResolverActivity private. 2020-12-31 14:46:19 +08:00
Alex Ning
7b154f4d31 Version 4.2.0-beta1. Fix regex in post filter. Fix UI issues. 2020-12-26 23:40:26 +08:00
Alex Ning
fa55fb369d Replace Filter settings with Post Filter. 2020-12-26 00:26:30 +08:00
TacoTheDank
6247868949 Update some libraries 2020-12-23 17:36:22 -05:00
TacoTheDank
94202097b7 Reorganize and remove unused libraries 2020-12-23 17:35:41 -05:00
Alex Ning
6a8f27f947 Add a new option category: Post Filter. Marking posts as read is disabled by default. Marking posts as read after voting is now available. 2020-12-23 17:03:41 +08:00
Alex Ning
937989d6a4 Version 4.1.1. 2020-12-06 23:19:45 +08:00
Alex Ning
88f6d3ae15 Version 4.1.1-beta1. 2020-12-02 19:13:11 +08:00
Alex Ning
95fd7ce8ba Try fixing ANR when releasing ExoPlayer. 2020-12-02 17:09:01 +08:00
Alex Ning
19e8cfbf15 Version 4.1.0. Disable red screen of death. 2020-11-24 19:13:30 +08:00
Alex Ning
d6088c032a Downgrade exoplayer to prevent crash when autoplaying videos. 2020-11-24 19:06:03 +08:00
Alex Ning
3414a86ae4 Change theme back to Theme.MaterialComponents. 2020-11-22 15:23:38 +08:00
Alex Ning
8bd1e60a0a Use Theme.AppCompat. 2020-11-22 12:38:29 +08:00
Alex Ning
121da39592 Fix crash when downloading media. Version 4.1.0-beta6. 2020-11-20 00:08:54 +08:00
Alex Ning
7a449f165a Version 4.1.0-beta5. 2020-11-12 12:44:46 +08:00
Alex Ning
441458b8b2 Fix comment more button not visible. 2020-11-11 17:40:09 +08:00
Alex Ning
979ff84f46 Add Red Screen Of Death to display crash dialog. 2020-11-06 15:06:53 +08:00
Alex Ning
b4fa21be08 Version 4.1.0-beta4. 2020-10-28 17:53:47 +08:00
Alex Ning
5770393498 Fix blanck white background in MainActivty after returning from SearchActivity. 2020-10-28 16:28:19 +08:00
Alex Ning
6710c44ff9 Version 4.1.0-beta3. 2020-10-24 10:51:30 +08:00
Alex Ning
ddebd6086d Fix an issue in respect subreddit recommended comment sort type. Dirty workaround for sensitive swipe sensitivity in ViewPager2 in MainActivity. 2020-10-23 17:53:30 +08:00
Alex Ning
01f15625a3 Version 4.1.0-beta2. 2020-10-20 08:33:07 +08:00
Alex Ning
b2732f1d79 Load low-resolution videos in data saving mode. Selecting video quality for Reddit videos is now available. 2020-10-18 11:44:10 +08:00
Alex Ning
64d56f930d Version 4.1.0-beta1. 2020-10-14 00:11:53 +08:00
Alex Ning
2b6f04a283 Random post and subreddit is available. 2020-10-04 16:55:19 +08:00
Alex Ning
eb5cc7d7d4 Add an option to require authentication before going to account section in navigation drawer. 2020-09-16 11:23:38 +08:00
Alex Ning
52ee70a57e Fix Immersive Interface on Android R. Set targetSdkVersion and compileSdkVersion to 30. 2020-09-12 14:58:07 +08:00
Alex Ning
7911f4f381 Fix proguard for gson. Fix multireddit's info cannot be updated in minifiedRelease. Version 4.0.7. 2020-09-01 15:24:56 +08:00
Alex Ning
0f03119f05 Temporarily revert the changes of fixing superscript. Version 4.0.6. 2020-08-26 23:00:19 +08:00
Alex Ning
202addef43 Version 4.0.5. 2020-08-26 16:04:48 +08:00
Alex Ning
2c0ed0834a Version 4.0.4. 2020-08-25 12:37:02 +08:00
Alex Ning
087ca72fc7 Add options to change the number of columns in PostFragment portrait and landscape modes. Upgrade compileSdkVersion and targetSdkVersion to 30. 2020-08-25 09:34:50 +08:00
Alex Ning
0527449ed6 Directly add https://www.reddit.com prefix to user name and subreddit name. Update some libraries. 2020-08-11 14:17:08 +08:00
Alex Ning
74a4206cd2 Version 4.0.3. Only save scrolled position for Best posts in HOME. Set Save Scrolled Position in HOME to false by default. Apply link color in CommentActivity. 2020-08-04 23:53:57 +08:00
Alex Ning
d10a3bd52a Version 4.0.2. 2020-07-31 21:16:13 +08:00
Alex Ning
61d3302a30 Use SharedPreferences to store post feed scrolled position instead of QNCache. Add an option to save the scrolled position. 2020-07-30 23:12:34 +08:00
Alex Ning
bb598531b5 Start loading posts after the last viewed post in PostFragment when refreshing and first load. 2020-07-30 16:50:15 +08:00
Alex Ning
2c03eb8d15 Version 4.0.1. Block users. Show report menu item even in anonymous mode. Remove Crashy. 2020-07-29 14:24:27 +08:00
Alex Ning
cdf7eaba26 Version 4.0.0. 2020-07-19 21:56:29 +08:00
Alex Ning
2d69170f4f Add an option to ignore nav bar in ViewVideoActivity and ViewImgurVideoFragment. Use Hauler to do drag up or down to finish Activity in ViewVideoActivity and ViewImgurMediaActivity. 2020-07-15 11:51:29 +08:00
Alex Ning
67cb832c46 Replace Hauler with Slidr to avoid weird behaviour in SubsamplingScaleImageView. 2020-07-14 22:45:21 +08:00
Alex Ning
d17408e2c9 Use SubsamplingScaleImageView and BigImageView to display images in ViewImageOrGifActivity and CommentAndPostRecyclerViewAdapter to avoid app crashing. Create another ViewModel, PostDetailGifAutoplayViewHolder in CommentAndPostRecyclerViewAdapter. 2020-07-11 22:54:29 +08:00
Docile-Alligator
98f4da3868
Merge pull request #153 from OHermesJunior/proguard-on
Add minified Release.
2020-07-10 00:36:05 +08:00
Hermes Junior
105a5642ea Add minified Release. 2020-07-09 17:44:49 +02:00
Alex Ning
5020bf633f Fix username takes up too much space in comments. Add PostCompactRightLeftThumbnailViewHolder and PostCompactLeftThumbnailViewHolder in order to fix layout issues in ConstraintLayout v2.0.0-beta8. Rename 'Show Thumbnail on the Right in Compact Layout' to 'Show Thumbnail on the Left in Compact Layout'. 2020-07-09 22:29:22 +08:00
Alex Ning
4fb2e3cc20 Add updated Crashy. 2020-07-09 12:13:45 +08:00
Alex Ning
6f34d854ea Setting autoplay videos visible area offset is available. Remove Crashy because it will crash on some devices, such as Pixel Slate. 2020-07-08 22:19:08 +08:00
Alex Ning
40fd7bf40f Prepare to add composing private message feature. 2020-07-07 23:35:18 +08:00
Docile-Alligator
405cac91e8
Merge pull request #140 from OHermesJunior/eventbus-index
Enable EventBus Index, avoids reflection, and better performance.
2020-06-22 23:41:20 +08:00
Hermes Junior
d493a0a386 Exclude transitive dependency from Google GMS. 2020-06-18 17:45:07 +02:00
Hermes Junior
dc39cb72af Enable EventBus Index, avoids reflection, and better performance. 2020-06-18 11:58:34 +02:00
Alex Ning
88a2119586 Resolve conflicts: Some refactors on media activities. 2020-06-16 15:17:00 +08:00
Alex Ning
9a47a3d9d2 Version 3.2.0. 2020-06-08 21:18:18 +08:00
Alex Ning
a9d2108c00 Update acknowledgement info. 2020-06-04 23:02:05 +08:00
Alex Ning
e5d9f93e96 Swipe up or down to finish ViewImgurMediaActivity. Using Hauler to do swipe up or down to finish ViewImageActivity, ViewGIFActivity and ViewVideoActivity. Fixed gifs downloaded as jpg. 2020-06-04 20:06:01 +08:00
Alex Ning
13d64eda14 Support viewing imgur albums in-app. 2020-06-03 19:02:46 +08:00
Alex Ning
066956971a Support viewing gfycat videos in app. 2020-05-28 22:16:07 +08:00
TacoTheDank
6126df39a5
Merge branch 'master' into master 2020-05-19 16:39:37 -04:00
Alex Ning
967e6ec261 Disable proguard because app force stop. 2020-05-14 00:36:45 +08:00
Alex Ning
24d0ac4a40 Version 3.1.0. 2020-05-13 23:09:22 +08:00
Hermes Junior
80f74fc9c2 Enable minify, reduce release apk size. 2020-05-08 16:03:11 +02:00
TacoTheDank
fc284a3dc0
Merge branch 'master' into master 2020-05-05 15:04:19 -04:00
Alex Ning
033c8bd241 Buggy video and Gif autoplay. 2020-04-29 18:13:28 +08:00
TacoTheDank
bac83aa1c7 Rearrange dependencies and update some 2020-04-22 12:09:10 -04:00
Alex Ning
0f8395221d Show 1 Award instead of 1 Awards. Version 3.0.3. 2020-04-19 13:16:23 +08:00
Alex Ning
90fa50f5d1 Add a fast scroller on SubscribedSubredditsListingFragment. 2020-04-15 20:58:55 +08:00
Alex Ning
23aea84b6f Version 3.0.2. 2020-04-08 19:59:39 +08:00
Alex Ning
2c36d46cd0 Fix app crashes on ViewSubredditDetailActivity. Fix some themeing issues. 2020-04-08 11:41:42 +08:00
Alex Ning
cd4cf40236 Fix app crashes when selecting font size to small. Version 3.0.1. 2020-04-06 10:47:28 +08:00
Alex Ning
86171535a6 Version 3.0.0. 2020-04-05 17:04:29 +08:00
Alex Ning
d6dd171ac4 Editing multireddits is now available. 2020-04-04 16:10:25 +08:00
Alex Ning
0f36ad4e1d Prepare to add different themes. Try fixing timeout issue in okhttp3. 2020-02-26 22:40:15 +08:00
Alex Ning
6433014679 Fix stack overflow error when syncing subscribed subreddits and users and multireddits. Fix app crashes when creating multireddits without selecting any subreddits. Version 2.2.3. 2020-02-24 20:43:55 +08:00
Alex Ning
c0c24a2613 Version 2.2.2. 2020-02-22 20:18:58 +08:00
Alex Ning
3d9d98467a Fix post card has empty space under vote buttons once again by upgrading google's material library. Add an Okhttp3 interceptor for debug usage. 2020-02-21 17:50:49 +08:00
Alex Ning
805ce260a2 Creating multireddit without specifying subreddits is available. 2020-02-12 18:11:03 +08:00
Alex Ning
5693bc384d Fix bugs related to changing default post layout. Rewrite opening links to handle error. Version 2.2.0. 2020-02-05 13:41:20 +08:00
Alex Ning
4d6782107d Handle sidebar links. Version 2.1.0. 2019-12-31 21:54:51 +08:00
Alex Ning
5bf1d342f6 Markdown table support. 2019-12-26 23:57:02 +08:00
Alex Ning
2113d4a902 Fixed UI in ViewMultiRedditDetailActivity. Add a share option in Settings -> About to let you easily share this app to other people. Version 2.0.0. 2019-12-19 21:09:58 +08:00
Alex Ning
f7eaa7ca06 Share only the link of the post instead of title + link. Version 1.6.2. 2019-12-06 11:02:58 +08:00
Alex Ning
b96552a5ca Fix force stop when navigating top-level comments. Fix invisible retry loading more posts button in dark theme. Minor bugs fixed. 2019-11-26 22:01:34 +08:00
Alex Ning
a7edd207ad Version 1.6.0 2019-11-19 17:24:27 +08:00
Alex Ning
47b57fd50f Superscript is now available. 2019-11-19 11:31:58 +08:00
Alex Ning
ee60cbf640 Swipe right to go back from ViewPostDetailActivity. Fix inconsistency in elapsed time. 2019-11-16 00:20:09 +08:00
Alex Ning
e0a9a02157 Swiping to refresh posts is now available. 2019-11-15 17:23:59 +08:00
Alex Ning
a0aae589d7 Showing elapsed time in posts and comments is available. 2019-11-12 19:31:28 +08:00
Alex Ning
b62ab6f443 Fixed IllegalStateException in SubredditSelectionActivity. Downgrade material library to fix the bugs introduced in the last update. 2019-11-05 21:25:30 +08:00
Alex Ning
36a06290ef Fixed UI issues in posts and comments. Version 1.4.0. 2019-10-29 22:33:53 +08:00
Alex Ning
3a81ca17e8 Use FlowLayout to host all the information of a post in item_post and item_post_detail. 2019-10-28 21:17:09 +08:00
Alex Ning
75452b764d Disable clicking comment icon in a post to submit a comment. Enlarge the icons in comments. Fix regex used to linkify subreddits and users. 2019-10-25 21:16:09 +08:00
Alex Ning
6662f9af34 Fixed bottom sheet fragments cannot swipe down to show items when they are expanded. Version 1.3.1. 2019-10-20 23:23:56 +08:00
Alex Ning
68f113a66e Show an error message when favorite or unfavorite something failed. Minor bugs fixed. Version 1.3.0. 2019-10-14 11:03:54 +08:00
Alex Ning
35f9a645d8 Fix app crashes when opening images and videos. 2019-10-07 08:38:38 +08:00
Alex Ning
f36cef5954 Version 1.2.1 2019-10-06 09:14:54 +08:00
Alex Ning
b56594aeba Version 1.2.0 2019-10-05 23:53:28 +08:00
Alex Ning
de8076539d Change gitignore file. 2019-09-30 00:25:21 +08:00
Alex Ning
47832e1e91 Blurring spoiler post images is now available. Change spoiler and flair text background colors. Fixed collapsed comments shown after orientation change. 2019-09-27 16:58:57 +08:00
Alex Ning
41b0b31f2c Only show the new messages within the the notification interval to prevent showing the same notifications over and over again. Version 1.1.1. 2019-09-22 22:02:50 +08:00
Alex Ning
cf84a6d431 Delete something related to downloading videos. 2019-09-19 21:58:40 +08:00
Alex Ning
5172ae96a7 Change the color of the comment's vertical bar. Long press the comment to expand or collapse. Version 1.0.9. 2019-09-17 16:56:04 +08:00
Alex Ning
8b366c0961 Version 1.0.8 2019-09-16 00:07:44 +08:00
Alex Ning
fa7f12bd19 Version 1.0.7 2019-09-12 21:23:43 +08:00
Alex Ning
bbff1266a5 Version 1.0.6 2019-09-11 10:12:15 +08:00
Alex Ning
f5f2acfab1 Version 1.0.5 2019-09-10 17:15:24 +08:00
Alex Ning
7cb7fee944 Version 1.0.4 2019-09-09 21:35:29 +08:00
Alex Ning
b18e44a00c Version 1.0.3 2019-09-09 16:40:38 +08:00
Alex Ning
5dbe271b2c Hiding and unhiding posts are now available. 2019-09-08 16:08:39 +08:00
Alex Ning
cb471b4f86 Version 1.0.1 2019-09-08 10:56:28 +08:00
Alex Ning
4e14b13fba Fixed force stop when opening link type post. Update libraries. 2019-09-07 22:26:29 +08:00
Alex Ning
7a3e22617b Make generating release apk availalbe. 2019-09-05 08:18:06 +08:00
Alex Ning
a5a77fca04 View crosspost parent in ViewPostDetailActivity when clicking the crosspost icon or select Crosspost parent menu item in toolbar. Filter NSFW posts in FilteredThingActivity is now available. 2019-08-30 11:35:44 +08:00
Alex Ning
5e144c6de9 Reimplement Markdown display due to update of Markwon library. Fixed RetryLoadingMoreCallback is null in MessageRecyclerViewAdapter. 2019-08-26 13:52:19 +08:00
Alex Ning
9bad5024ff Fixed getting same notifications for different accounts (for real this time). Add a settings acivity but with no use now. Minor bugs fixed. Minor UI tweaks. 2019-08-21 16:21:17 +08:00
Alex Ning
21c9eb03ed Fetch unread messages periodically (15 mins for test) using WorkManager. Click new comment notifications to view new comment in ViewPostDetailActivity. 2019-08-17 17:43:29 +08:00
Alex Ning
eaef58037c Editing flair is now available. 2019-08-14 13:53:08 +08:00
Alex Ning
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
Alex Ning
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
Alex Ning
ebf542161e Flair, spoiler and nsfw support for submitting posts. 2019-07-17 09:31:49 +08:00
Alex Ning
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
Alex Ning
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
Alex Ning
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
Alex Ning
f69ae29bb9 Added a feature: Sending comments. 2019-06-14 10:30:26 +08:00
Alex Ning
42c7b316f3 Add CommentActivity for sending comments (not implemented yet). Minor UI tweaks. 2019-06-13 12:16:04 +08:00
Alex Ning
ef8daed571 Minor layout tweaks. Fixed action bar color in ViewPostDetailActivity in dark mode. 2019-06-11 19:59:23 +08:00
Alex Ning
1d294609f5 Unescape HTML for post content and comments. Minor UI fixes. 2019-04-26 21:53:32 +08:00
Alex Ning
cd4730c649 Synchronizing voting state between PostRecyclerViewAdapter and ViewPostDetailActivity using EventBus by greenrobot. Minor bugs fixed. 2019-04-18 23:31:41 +08:00
Alex Ning
246d4f45ab Fixed displaying wrong score when rapidly clicking vote buttons in PostRecyclerViewAdapter. 2019-04-18 17:18:19 +08:00
Alex Ning
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
Alex Ning
1293eac5c8 Add a search view in MainActivity and add a SearchActivity. 2019-02-22 13:34:24 +08:00
Alex Ning
82d97cf732 Migrate to AndroidX 2019-02-21 17:24:23 +08:00
Alex Ning
2b0228ab47 Use another GifImageView library. 2019-02-21 13:21:32 +08:00
Alex Ning
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
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
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
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
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
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