Commit Graph

730 Commits

Author SHA1 Message Date
Alex Ning
685a39ba58 Fix UI issues in post and comment item. Fix Reddit gallery post cannot be opened in PostCompactLayout when clicking the imageview. 2020-07-18 21:56:39 +08:00
Alex Ning
3a621e2901 Fix subreddits not showing in SelectedSubredditsActivity when editing a multireddit by clicking Editing Multireddit in MultiRedditOptionsBottomSheetFragment. Support gfycat.com/ifr/<id>. 2020-07-18 12:45:40 +08:00
Alex Ning
39ae0d3aaf Fix parsing Reddit gallery posts error when they contain a gif. Fix progress bar not showing in item_post_detail_gallery. 2020-07-18 00:22:07 +08:00
Alex Ning
09efd35b29 Fix the first post card not clickable in PostRecyclerView Adapter. 2020-07-17 16:20:19 +08:00
Alex Ning
d06f66975e Add a boolean variable isSendingMessage to avoid sending multiple messages before the first message is sent in ViewPrivateMessageActivity. When the message is being sent, the send button will have a secondary text color. Use wrap_content for comment content in item_comment. 2020-07-17 16:13:55 +08:00
Alex Ning
7d1aa07b9d Validate index before performing onClick in PostRecyclerViewAdapter. 2020-07-17 12:02:04 +08:00
Alex Ning
fd175178a2 Use BigImageView in ViewRedditGalleryImageOrGifFragment. Fix subtitle not showing in FilteredThingActivity when browsing Reddit gallery posts. 2020-07-16 22:58:11 +08:00
Alex Ning
bae154da45 Fix link domain not showing in PostRecyclerViewAdapter. 2020-07-16 22:17:35 +08:00
Alex Ning
ca9c90711c Support viewing Reddit Gallery in app. Fix gif not autoplayable in CommentAndPostRecyclerViewAdapter. 2020-07-16 22:02:06 +08:00
Alex Ning
2d002b42d9 Fix ANR when uploading large video files. Fix uploading gif as image. 2020-07-16 17:42:07 +08:00
Alex Ning
7742a19abd Remove font: Bad Script. Add some bold fonts. 2020-07-15 21:40:26 +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
a9ba807cf4 Fix gif too small in ViewImageOrGifActivity. Hide immersive interface entry if the device has Android version lower than 8.0. 2020-07-15 10:42:46 +08:00
Alex Ning
c97120528b Use SubsamplingScaleImageView in ViewImgurImageFragment. Probably fix gif too small in AspectRatioGifImageView. 2020-07-14 23:26:19 +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
19c2d0b979 Disable swipe right to go back in some Activities. Rename 'Swipe Right to Go Back From Comments' to 'Swipe Right to Go Back'. 2020-07-14 19:43:26 +08:00
Alex Ning
8320a7509c Add double tap to zoom in ViewImageOrGifActivity. Delete MultiRedditListingActivity. 2020-07-14 16:33:23 +08:00
Alex Ning
faa15f8d09 Optimize image loading in all ViewHolders in PostRecyclerViewAdapter and CommentAndPostRecyclerViewAdapter. 2020-07-14 10:48:43 +08:00
Alex Ning
b1c6223233 Probably fix app crashes when loading large images in CommentAndPostRecyclerViewAdapter. 2020-07-13 23:54:15 +08:00
Alex Ning
cd108fbe55 Probably fix app crashes when loading large images in PostRecyclerViewAdapter. 2020-07-13 22:57:30 +08:00
Alex Ning
83eea69459 Only use SubsamplingScaleImageView to load images in ViewHolders for image in PostRecyclerViewAdapter and CommentAndPostRecyclerViewAdapter. 2020-07-13 00:24:25 +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
Docile-Alligator
bc8eea15ac
Merge pull request #152 from OHermesJunior/preferences-anim
Add settings screen animations.
2020-07-10 00:35:24 +08:00
Alex Ning
126cfa280e Move onClickListeners from onBindViewHolder to PostCompactBaseViewHolder. Remove test code in CommentAndPostRecyclerViewAdapter. 2020-07-10 00:33:13 +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
Hermes Junior
d03533b9b9 Add settings screen animations. 2020-07-09 13:38:15 +02:00
Alex Ning
70264ee632 Fix fab does not show in MultiReditListingFragment when first entering SubscribedThingListingActivity. 2020-07-09 12:27:21 +08:00
Alex Ning
4fb2e3cc20 Add updated Crashy. 2020-07-09 12:13:45 +08:00
Alex Ning
45f6ba5532 Add an option to mute nsfw videos. Show preview before autoplaying videos in CommentAndPostRecyclerViewAdapter. 2020-07-09 10:51:24 +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
318b11da01 View crash reports in Settings -> About -> Crash Reports. 2020-07-08 12:32:49 +08:00
Alex Ning
406d82ef52 Composing message is now available. 2020-07-08 11:34:27 +08:00
Alex Ning
40fd7bf40f Prepare to add composing private message feature. 2020-07-07 23:35:18 +08:00
Alex Ning
ba2a219168 Show a preview image before autoplaying video is loaded. 2020-07-06 22:14:58 +08:00
Alex Ning
3ef4b90a63 Set color of received and sent messages, and send message button. 2020-07-06 17:18:42 +08:00
Alex Ning
933e928faf Fixed some default colors. 2020-07-06 16:50:07 +08:00
Alex Ning
18e38f6527 Add two more comments in theme preview. 2020-07-06 15:40:29 +08:00
Alex Ning
4654090b31 Remove ParseAndSaveAccountInfo and move the code to FetchMyInfo. Move some classes to packages. 2020-07-06 12:19:21 +08:00
Alex Ning
5e02a43ba7 Fix notification interval not properly set for 15 and 30 mins. 2020-07-06 10:51:41 +08:00
Alex Ning
845e016f0a Fix link color not change in MessageRecyclerViewAdapter and PrivateMessagesDetailRecyclerViewAdapter. 2020-07-06 00:00:26 +08:00
Alex Ning
9ee22c3098 Fix themeing problems for recently-added features. 2020-07-05 11:34:05 +08:00
Alex Ning
90f741e9e1 Add more themeing options for links, private messages, etc. Restructure class files. 2020-07-03 21:48:35 +08:00
Alex Ning
4f8b313b3c Fully collapsing comments is now available (barebone). 2020-07-03 10:27:24 +08:00
Alex Ning
9a4edde8fb Add an option to change time format. Properly show message time in ViewPrivateMessagesActivity. 2020-07-02 18:59:53 +08:00
Alex Ning
3a72c5a1f8 Open message tab in InboxActivity when opening a message notification. 2020-07-02 13:12:36 +08:00
Alex Ning
1958ad77e3 Maintain RecyclerView position when showing and hiding the keyboard in ViewPrivateMessagesActivity. 2020-07-02 11:13:10 +08:00
Alex Ning
2fbc4d02c8 Changing ost layout in AccountSavedThingActivity is available. 2020-07-02 09:52:19 +08:00
Alex Ning
eff385ccd6 Read all the replies when replying a message. Update the replied message in InboxFragment. 2020-07-01 21:48:39 +08:00
Alex Ning
707316c7ad Replying to messages is now available. Remove CollapsingToolbarLayout in ViewPrivateMessagesActivity. Scroll to bottom when entering ViewPrivateMessagesActivity. 2020-07-01 13:38:25 +08:00
Alex Ning
a00f7ced6c Add an EditText and a send button in ViewPrivateMessagesActivity. Rewrite the code of fetchUserAvatar in ViewPrivateMessagesActivity. 2020-07-01 11:53:18 +08:00
Alex Ning
bde545b75f Implemente a chat UI for private messages. 2020-06-30 13:33:05 +08:00
Alex Ning
a888ae8435 Show all the messages in ViewPrivateMessagesActivity. 2020-06-29 16:42:43 +08:00
Alex Ning
04f16d5664 Add ViewPrivateMessagesActivity. Rename getSharedPreferences to getDefaultSharedPreferences in BaseActivity. 2020-06-29 13:15:23 +08:00
Alex Ning
d1fc84f9d0 Test WorkManager. Still implementing PM. 2020-06-29 12:00:06 +08:00
Alex Ning
3c482c63ec Add another tab for PM in ViewMessageActivity. 2020-06-27 14:00:24 +08:00
Hermes Junior
7bb9d14f1d Hide actionbar on imgur images too. 2020-06-23 16:37:53 +02:00
Alex Ning
5daa0de82d Prepare to support PM. 2020-06-23 16:32:40 +08:00
Alex Ning
421315f0c6 Fix flair cannot be applied when submitting posts. Fix crash in FollowedUsersRecyclerViewAdapter. 2020-06-23 11:36:17 +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
3a88cacdde Improve removed thing not found detection. 2020-06-21 17:39:41 +02:00
Hermes Junior
0fc513cb9d Probably fix blurred images this time. 2020-06-20 21:53:26 +02:00
Alex Ning
b782a90bf3 Try another possible solution for blurry image problem. 2020-06-20 23:14:15 +08:00
Alex Ning
354529ca88 Add 2 options for notification interval: 15 minutes and 30 minutes. 2020-06-20 22:20:01 +08:00
Alex Ning
dce5777fbb Add an option to automatically try loading removed gfycat videos on Redgifs. 2020-06-20 22:02:18 +08:00
Alex Ning
9f16b6c25a Add an option: Mute Autoplaying Videos. 2020-06-20 14:02:33 +08:00
Docile-Alligator
02af3edd09
Merge pull request #133 from OHermesJunior/fix-slide
Fix swipe on two missed activities.
2020-06-20 12:24:58 +08:00
Docile-Alligator
f3862e1c8a
Merge pull request #132 from OHermesJunior/divider-drawer
Add preferences label and divider in nav drawer.
2020-06-20 12:23:51 +08:00
Docile-Alligator
88dea552dd
Merge pull request #136 from OHermesJunior/version-about
Add version info to about section.
2020-06-20 12:22:32 +08:00
Docile-Alligator
508f881171
Merge pull request #135 from OHermesJunior/fix-dark-icon
Fix "See Removed" icon dark on dark mode.
2020-06-20 12:20:12 +08:00
Docile-Alligator
8871eeaca8
Merge pull request #131 from OHermesJunior/sort-icons
Add icons to sort bottom sheets.
2020-06-20 12:18:02 +08:00
Hermes Junior
8cec7aff11 Add version info to about section. 2020-06-20 00:51:13 +02:00
Hermes Junior
0d07e86358 Fix "See Removed" icon dark on dark mode. 2020-06-18 18:39:21 +02: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
Hermes Junior
cad9912eda Fix swipe on two missed activities. 2020-06-17 22:34:47 +02:00
Hermes Junior
09538f4600 Add preferences label and divider in nav drawer. 2020-06-17 19:23:13 +02:00
Hermes Junior
a70a00e6e9 Add icons to sort bottom sheets. 2020-06-17 18:14:36 +02:00
Alex Ning
b5fec7dac7 Fix themeing issues in ViewImageOrGifActivity and ViewImgurMediaActivity. 2020-06-17 22:36:22 +08:00
Hermes Junior
be9f0c1fd1 Allow sliding back on all activities. 2020-06-17 16:11:18 +02:00
Alex Ning
0df0482d45 Add some padding between markdown paragraghs. Delete Caveat font. 2020-06-17 19:23:44 +08:00
Alex Ning
513d926770 Probably fix duplicate posts problem. 2020-06-17 17:49:56 +08:00
Docile-Alligator
dc550f1e18
Merge pull request #120 from OHermesJunior/see-removed
Feature: See removed posts and comments
2020-06-17 12:32:58 +08:00
Alex Ning
ab14405b77 Fix text color in SetAsWallpaperBottomSheet. 2020-06-17 11:59:09 +08:00
Alex Ning
72f176201e Add FontPreviewFragment. Add some fonts and delete some. 2020-06-17 09:38:36 +08:00
Hermes Junior
46a8b0d276 Implement "see removed" for other types of posts. Improve removed thing detection. 2020-06-16 19:29:17 +02:00
Hermes Junior
e0020e3cf2 Fix crash for non selftext posts. 2020-06-16 19:29:17 +02:00
Hermes Junior
1b972aca2e Implement option to see removed post. 2020-06-16 19:29:14 +02:00
Hermes Junior
99418267c4 Refactor menu setup. 2020-06-16 19:29:07 +02:00
Hermes Junior
4a1bed82d7 Implement option to see removed comment. 2020-06-16 19:29:05 +02:00
Alex Ning
66f4db6b40 Set wallpaper in an AsyncTask. 2020-06-16 17:12:20 +08:00
Docile-Alligator
62879f8dc2
Merge branch 'master' into refactor-view-image 2020-06-16 15:26:51 +08:00
Alex Ning
88a2119586 Resolve conflicts: Some refactors on media activities. 2020-06-16 15:17:00 +08:00
Docile-Alligator
268ea4f9d8
Merge pull request #123 from OHermesJunior/media-exit-anim
Make exit animation follow slide direction on media activities.
2020-06-16 12:27:54 +08:00
Docile-Alligator
ecd8988342
Merge pull request #124 from OHermesJunior/remove-sidebar
Remove sidebar activity
2020-06-16 12:27:21 +08:00
Hermes Junior
49c2c7a746 Fix branch rebase. 2020-06-15 23:47:51 +02:00
Hermes Junior
0d818c02e9 Refactor wallpaper setting feature, extracting to it's own class. 2020-06-15 23:31:11 +02:00
Hermes Junior
a0d6c220c5 Refactor media download feature extracting to dedicated class. 2020-06-15 23:29:13 +02:00
Hermes Junior
d428baaa7b Refactor ViewImage and ViewGif activities. Allow zooming in gifs. 2020-06-15 23:29:03 +02:00