java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1
at java.util.ArrayList.get(ArrayList.java:439)
at com.squareup.cycler.Recycler$Adapter.getItemViewType(Recycler.kt:443)
Can we get another exception thrown here make the issue more obvious?
Fantastic work on this library! I refuse to work with RecyclerView any other way 🙂
This can be reproduced easily by creating another subclass of
BaseItem
and adding it to the sample list inSimplePage
without changing the config.BaseItem.kt
SimplePage.kt
Stack Trace
Can we get another exception thrown here make the issue more obvious?
Fantastic work on this library! I refuse to work with
RecyclerView
any other way 🙂