nice-spinner icon indicating copy to clipboard operation
nice-spinner copied to clipboard

Index out of bounds on onRestoreInstanceState

Open gpallas16 opened this issue 6 years ago • 1 comments
trafficstars

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)

gpallas16 avatar Sep 07 '19 17:09 gpallas16

Same here I am facing this error too.

mrtarunsaraswat avatar Sep 13 '19 05:09 mrtarunsaraswat