Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Index out of bounds on onRestoreInstanceState #143

Open
gpallas16 opened this issue Sep 7, 2019 · 1 comment
Open

Index out of bounds on onRestoreInstanceState #143

gpallas16 opened this issue Sep 7, 2019 · 1 comment

Comments

@gpallas16
Copy link

This exception showed up today. I think from a quick look my view model passed an empty list and then on restore I got this exception.

Caused by java.lang.IndexOutOfBoundsException
Index: 0, Size: 0
java.util.ArrayList.get (ArrayList.java:437)
org.angmarch.views.NiceSpinnerAdapter.getItemInDataset (NiceSpinnerAdapter.java:54)
org.angmarch.views.NiceSpinner.onRestoreInstanceState (NiceSpinner.java:119)

@mrtarunsaraswat
Copy link

Same here I am facing this error too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants