mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 17:31:52 +01:00
Fix for #361?
This commit is contained in:
parent
50a773f456
commit
3e8ac6b2d0
@ -311,6 +311,10 @@ class CatalogueFragment : BaseRxFragment<CataloguePresenter>(), FlexibleViewHold
|
||||
* @param mangas the list of manga of the page.
|
||||
*/
|
||||
fun onAddPage(page: Int, mangas: List<Manga>) {
|
||||
// Avoid IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter...
|
||||
catalogue_grid.stopScroll()
|
||||
catalogue_list.stopScroll()
|
||||
|
||||
hideProgressBar()
|
||||
if (page == 0) {
|
||||
adapter.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user