diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueFragment.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueFragment.kt index ae62b22b57..5299a61a54 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueFragment.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueFragment.kt @@ -311,6 +311,10 @@ class CatalogueFragment : BaseRxFragment(), FlexibleViewHold * @param mangas the list of manga of the page. */ fun onAddPage(page: Int, mangas: List) { + // Avoid IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter... + catalogue_grid.stopScroll() + catalogue_list.stopScroll() + hideProgressBar() if (page == 0) { adapter.clear()