Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NT-2053:UX – Add pagination to replies (#1311)
* Fix pagnation scroll issue * create RootCommentViewHolderViewModel * create PaginationViewMoreRepliesViewHolder * update isReversed in ApolloPaginate * update PAGE_SIZE in ApolloClient * Allow to enable and disable scroll with RecyclerViewPaginator * add start margin in case render replies * delete unused classes * update RepliesAdapter * update ThreadActivity * Fix RecyclerView position * Add testing to RootCommentViewHolderViewModel * Add testing to PaginationViewMoreViewHolderViewModel * update test * Fix code style * fix code conflict * fix code format * Handle pagnation error * show loading with fetching items * fix format * fix code comment * update Co-authored-by: sunday-okpoluaefe <63934292+sunday-okpoluaefe@users.noreply.github.com>
- Loading branch information
1 parent
ab19752
commit 3227c4a
Showing
25 changed files
with
559 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
app/src/main/java/com/kickstarter/libs/loadmore/PaginatedViewModelOutput.kt
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
app/src/main/java/com/kickstarter/libs/loadmore/PaginationHandler.kt
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
app/src/main/java/com/kickstarter/libs/loadmore/PaginationListener.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.