aboutsummaryrefslogtreecommitdiff
path: root/app/src/main (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-22Fix posts not marked as read in ViewPostDetailActivity if swipe between ↵Alex Ning3-8/+21
posts is enabled.
2021-09-22Only save read post ids in PostFragment. Add read post ids to readPosts in ↵Alex Ning9-83/+43
PostFragment.
2021-09-22Added link to wiki in subredditandrewrasch3-0/+13
Subreddit details menu now has a link to its wiki. Subs without a wiki will show the "this subreddit has no wiki" page.
2021-09-22Fixed handling of wiki pagesandrewrasch2-3/+5
LinkResolverActivity now handles wiki pages other than index and their subpages.
2021-09-22Added API call for generic wiki page.andrewrasch2-2/+7
Updated old wiki-only call to cascade to new generic.
2021-09-17Fix marking posts as read on scroll.Alex Ning1-5/+14
2021-09-17Fix hiding read posts automatically.Alex Ning3-58/+65
2021-09-17Fix opening the same media multiple times by clicking it repeatedly.Alex Ning1-43/+46
2021-09-17Rewrite code related to hiding read posts.Alex Ning2-91/+3
2021-09-16No need to pass a HashSet to hide read posts.Alex Ning2-13/+14
2021-09-16Remove unused API.Alex Ning1-75/+0
2021-09-16Fix no post message not shown in PostFragment.Alex Ning3-9/+20
2021-09-16Fix the same value, null, was passed as the nextKey in two sequential Pages ↵Alex Ning1-3/+1
loaded from a PagingSource.
2021-09-15Use Transformations.map and PagingDataTransforms.filter to remove read ↵Alex Ning3-3/+59
posts. It is an ugly design but I cannot think of a better way.
2021-09-08Fix gfycat videos cannot be downloaded.Alex Ning1-0/+2
2021-09-07Fix onPostUpdateEvent and onNeedForPostListFromPostRecyclerViewAdapterEvent ↵Alex Ning1-8/+8
in PostFragment.
2021-09-06Unlock Account Section -> Unlock in LockScreenActivity.Alex Ning1-1/+1
2021-09-06Remove PostViewModel, PostDataSource and PostDataSourceFactory. ↵Alex Ning17-1866/+302
NewPostViewModel is renamed to PostViewModel.
2021-09-06Remove unused variables.Alex Ning4-8/+9
2021-09-06Remove retryLoadingMore in NewPostViewModel.Alex Ning3-36/+1
2021-09-06Remove code related to NetworkState in PostRecyclerViewAdapter.Alex Ning2-185/+71
2021-09-06Use withLoadStateFooter to show load state.Alex Ning3-2/+146
2021-09-06Remove PostPaging3Repository.Alex Ning2-174/+112
2021-09-06Refreshing, changing sort type and post filter are now working in PostFragment.Alex Ning4-34/+108
2021-09-05Start migrating to Paging 3 library.Alex Ning14-4829/+749
2021-09-05Fix a bug which causes the ViewModel not retain its state after orientation ↵Alex Ning4-50/+35
change.
2021-09-04Testing Paging 3 library.Alex Ning12-3/+4987
2021-09-03Save last foreground time instead of last unlock time.Alex Ning3-13/+5
2021-09-03New options: App Lock and App Lock Timeout.Alex Ning9-10/+151
2021-09-03Update Credits page.Alex Ning6-4/+25
2021-09-03Start implementing app lock feature.Alex Ning7-18/+115
2021-09-03Sidebar -> About.Alex Ning18-18/+2
2021-09-02Fix showing wrong post feed in the second tab in MainActivity.Alex Ning3-18/+22
2021-09-02Use PostFragment to handle loading subreddit or user icons for ↵Alex Ning2-96/+109
PostRecyclerViewAdapter.
2021-08-29Null check when fetching v.redd.it in ViewVideoActivity.Alex Ning2-14/+19
2021-08-26Tweak the video autoplay control UI. Set show_timeout to 1s to video ↵Alex Ning6-43/+73
autoplay control UI.
2021-08-26Fix ClassCastException.Alex Ning3-5/+5
2021-08-25Set a null OnClickListener to the search panel card view in ↵Alex Ning1-2/+5
ViewPostDetailActivity.
2021-08-25Fix clicking a subreddit in subreddit suggestions goes to the subreddit page ↵Alex Ning2-8/+20
instead of returning the subreddit name in several activities.
2021-08-24Try to fix java.lang.IndexOutOfBoundsException in ↵Alex Ning45-110/+129
com.google.android.material.appbar.HeaderScrollingViewBehavior.layoutChild and com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild.
2021-08-24Fix an ArrayIndexOutOfBoundsException in CommentsRecyclerViewAdapter.Alex Ning1-2/+4
2021-08-20Remove animateLayoutChanges in video autoplay views.Alex Ning3-6/+3
2021-08-20Add animateLayoutChanges to item_post_compact_right_thumbnail.Alex Ning1-1/+2
2021-08-19Try fixing IllegalArgumentException at ↵Alex Ning10-23/+63
androidx.viewpager.widget.ViewPager.onInterceptTouchEvent.
2021-08-19Try fixing IllegalStateException at ↵Alex Ning1-0/+5
androidx.viewpager2.widget.ScrollEventAdapter.updateScrollEventValues in ViewUserDetailActivity.
2021-08-19Catch SecurityException when getting network type.Alex Ning2-11/+13
2021-08-19Fix error when adding a subreddit to a multireddit.Alex Ning1-2/+2
2021-08-18New languages: Portuguese and Somali. Update translation.Alex Ning18-600/+2449
2021-08-18Use discard instead of yes in several dialogs.Alex Ning9-80/+81
2021-08-18Minor bugs fixed.Alex Ning3-3/+6