Fix for #361?
Cette révision appartient à :
Parent
50a773f456
révision
3e8ac6b2d0
1 fichiers modifiés avec 4 ajouts et 0 suppressions
|
@ -311,6 +311,10 @@ class CatalogueFragment : BaseRxFragment<CataloguePresenter>(), FlexibleViewHold
|
||||||
* @param mangas the list of manga of the page.
|
* @param mangas the list of manga of the page.
|
||||||
*/
|
*/
|
||||||
fun onAddPage(page: Int, mangas: List<Manga>) {
|
fun onAddPage(page: Int, mangas: List<Manga>) {
|
||||||
|
// Avoid IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter...
|
||||||
|
catalogue_grid.stopScroll()
|
||||||
|
catalogue_list.stopScroll()
|
||||||
|
|
||||||
hideProgressBar()
|
hideProgressBar()
|
||||||
if (page == 0) {
|
if (page == 0) {
|
||||||
adapter.clear()
|
adapter.clear()
|
||||||
|
|
Référencer dans un nouveau ticket