Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
fix browser pagination disable saved rv state
Browse files Browse the repository at this point in the history
  • Loading branch information
befora committed Feb 19, 2019
1 parent 06c54ba commit 36be069
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ open class BrowserBaseFragmentImpl2_Content : BrowserBaseFragmentImpl1_Paginatio
/** populate pagination content*/
internal fun populatePaginationContent(book: Book) {
viewModel.updatePathLinkSubsection(book)
populateContent(book, addPath = false)
populateContent(book, loadState = false, addPath = false)
}

protected fun enableSelection(isCustomImplementation: Boolean) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ class PaginationHandler(private val browserFragment: BrowserBaseFragmentImpl2_Co
button.setOnClickListener {
val paginationBook = book.apply { linkSubsection = pageUrl }
browserFragment.populatePaginationContent(paginationBook)
contentRecyclerView.scrollToPosition(0)
}
}

Expand Down

0 comments on commit 36be069

Please sign in to comment.