Commit Graph

1503 Commits

Author SHA1 Message Date
Alex Ning
bf127f6fe9 Remove file extension from uploaded image's file name after uploading an image. Send Toast and Snackbar messages when uploading an image. 2021-07-04 22:57:30 +08:00
Alex Ning
f3d905c817 Save image name and image url for uploaded images when uploading images. Uploading captured images is available. 2021-07-04 22:46:15 +08:00
Alex Ning
5210bbe7db Uploading images when submitting comments is available. 2021-07-04 10:03:38 +08:00
Alex Ning
91ae3f9610 Add an option in MarkdownBottomBarRecyclerViewAdapter to upload images. 2021-07-04 09:20:36 +08:00
Alex Ning
f33dfd288a Separate image uploading methods from SubmitPost and put them into a new class: UploadImageUtils to prepare to upload images when commenting and submitting text posts. 2021-07-04 09:05:14 +08:00
Alex Ning
30bce5b798 Fix app crashes when changing a wallpaper. Fix Apply Material You option not working. 2021-07-04 08:44:31 +08:00
Alex Ning
e3578c59dd Save light, dark and amoled Material You themes to database. Add 'Apply Material You' option. Test MotionLayout. 2021-07-02 23:16:18 +08:00
Alex Ning
992cf0dda1 Suggest subreddits in go to subreddit dialog in other activities. 2021-07-01 13:03:50 +08:00
Alex Ning
2d1e63d722 Suggest subreddits in go to subreddit dialog in MainActivity. 2021-07-01 12:48:28 +08:00
Alex Ning
ef953a72f7 Suggest subreddits when searching. 2021-06-30 20:06:46 +08:00
Alex Ning
b0f38f9db4 Remove OnLongClickListener of PlayerView in PostRecyclerViewAdapter. 2021-06-29 21:53:24 +08:00
Alex Ning
0f5c2e6f59 Caching videos in ViewVideoActivity. 2021-06-29 21:27:53 +08:00
Alex Ning
f638eb1e7e Fix app crashes after switching from single thread mode to normal mode in CommentsRecyclerViewAdapter. 2021-06-27 22:22:14 +08:00
Alex Ning
d5c65ff492 Fix not showing all comments in single comment thread mode in CommentsRecyclerViewAdapter. 2021-06-27 22:01:06 +08:00
Alex Ning
7b1221bfc9 Long press the fab in ViewPostDetailActivity to go to the previous parent comment. Fix bugs in scrollToNextParentComment() and scrollToPreviousParentComment() in ViewPostDetailFragment. 2021-06-26 21:43:30 +08:00
Alex Ning
6e4a808cbb Fix scroll to wrong next or previous parent comment position in ViewPostDetailFragment. 2021-06-26 21:30:13 +08:00
Alex Ning
7db721f297 Fix comments disappear in ViewPostDetailFragment after the system kills Infinity. 2021-06-26 21:22:04 +08:00
Alex Ning
9819059e29 Fix showing wrong comment after user submitted a comment in ViewPostDetailFragment. 2021-06-25 12:46:14 +08:00
Alex Ning
2236305e19 Fix delaying transition not working in landscape orientation in ViewPostDetailFragment for comments. 2021-06-24 21:49:04 +08:00
Alex Ning
51fd4c3749 Fix video not playing if pressing the fullscreen button in PostDetailRecyclerViewAdapter. 2021-06-24 21:40:45 +08:00
Alex Ning
05338b5a47 Replace AsyncTask with Executor in ParseComment. 2021-06-24 18:53:35 +08:00
Alex Ning
7067a20696 Replace AsyncTask with Executor in FetchRules. 2021-06-23 20:45:46 +08:00
Alex Ning
ade1097f30 Replace AsyncTask with Executor in FetchGfycatOrRedgifsVideoLinks. 2021-06-23 20:22:29 +08:00
Alex Ning
c7f9343d00 Fix 'android.view.ViewRootImpl: Only the original thread that created a view hierarchy can touch its views.' in SubmitPostService. 2021-06-23 20:05:46 +08:00
Alex Ning
b01c9b9e2b Finish replacing AsyncTask with Executor in ParsePost. 2021-06-23 19:51:45 +08:00
Alex Ning
260bd45433 Start replacing AsyncTask with Executor in ParsePost. 2021-06-23 19:20:37 +08:00
Alex Ning
866db8c681 Fix Material You themeing. 2021-06-23 13:50:17 +08:00
Alex Ning
50db0d0719 Add OnScrollListener to correct RecyclerView in ViewPostDetailFragment. 2021-06-23 13:35:42 +08:00
Alex Ning
9437217bbb Refine ExoPlayer's DefaultTimeBar style. 2021-06-23 09:24:10 +08:00
Alex Ning
a151d98411 Add missing return statements. 2021-06-22 13:28:49 +08:00
Docile-Alligator
94b5c238fb
Merge pull request #376 from Tijs-B/master
Add editor done action to dialog_go_to_thing_edit_text
2021-06-22 13:17:50 +08:00
Alex Ning
11ec08c12f Implement two pane layout in ViewPostDetailFragment to separate post detail and comments. Fix bugs related to separating CommentAndPostRecyclerViewAdapter. 2021-06-22 13:16:17 +08:00
Alex Ning
e222fbc5b1 Separate CommentAndPostRecyclerViewAdapter to PostDetailRecyclerViewAdapter and CommentsRecyclerViewAdapter and combine them using ConcatAdapter. 2021-06-21 13:29:07 +08:00
Tijs-B
cfe7ccbf59
Merge branch 'Docile-Alligator:master' into master 2021-06-18 11:20:26 +02:00
Alex Ning
92a1c1d1ae Fix Material You themeing issue. 2021-06-17 12:35:37 +08:00
Alex Ning
18ecb62605 Listen to wallpaper change and change theme. 2021-06-16 18:26:32 +08:00
Alex Ning
dfe2ca8081 Material You. 2021-06-16 17:24:17 +08:00
Tijs-B
f898bda4aa Add editor done action to dialog_go_to_thing_edit_text 2021-06-11 18:02:46 +02:00
Alex Ning
761217a87f Use PagingDataAdapter instead of deprecated PagedListAdapter. 2021-06-11 19:53:21 +08:00
Alex Ning
7c388ebd52 Change several colors in Indigo theme. 2021-06-11 15:29:44 +08:00
Alex Ning
fda2c142c8 Remove setting mFetchPostInfoTextView's layout params in PostFragment. 2021-06-11 15:05:56 +08:00
Alex Ning
7ebb6efdc4 Set bottom app bar enabled by default. Change Indigo colors. 2021-06-11 10:20:59 +08:00
Alex Ning
dc4b1f2611 Version 4.3.4. 2021-06-10 17:27:23 +08:00
Alex Ning
e9124e869d Added showing favorite multireddits and multireddits in main page. 2021-06-10 17:20:32 +08:00
Alex Ning
afbebebde1 Starting adding showing favorite multireddits and multireddits in main page. 2021-06-10 16:21:27 +08:00
Alex Ning
907e348399 Fix background color not applied to Card Layout 2. 2021-06-06 15:39:58 +08:00
Alex Ning
01d4d51253 Refine the UI of FlairBottomSheetFragment. 2021-06-06 15:19:04 +08:00
Alex Ning
c4276736ae Disable ViewPager2's swiping if swipe between posts is disabled. 2021-05-31 00:00:34 +08:00
Alex Ning
0f33ef627e Version 4.3.3. 2021-05-30 09:42:42 +08:00
Alex Ning
4da2353869 New languages: Russian and Vietnamese. 2021-05-30 09:35:47 +08:00