You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i have bind listview with real data. i am getting below error. with out scrolling listview it is working fine. but once i scroll page then its crash app.
Please check screenshot
java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at com.applidium.headerlistviewdemo.DemoActivity$1.numberOfRows(DemoActivity.java:43)
at com.applidium.headerlistview.HeaderListView$HeaderListViewOnScrollListener.onScroll(HeaderListView.java:151)
Hello,
When i have bind listview with real data. i am getting below error. with out scrolling listview it is working fine. but once i scroll page then its crash app.
Please check screenshot
![screenshot](https://cloud.githubusercontent.com/assets/15199910/24185015/da308cfc-0ef6-11e7-8318-ac5cb07f54b6.png)
java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at com.applidium.headerlistviewdemo.DemoActivity$1.numberOfRows(DemoActivity.java:43)
at com.applidium.headerlistview.HeaderListView$HeaderListViewOnScrollListener.onScroll(HeaderListView.java:151)
Please check my code...
DemoActivity.txt
The text was updated successfully, but these errors were encountered: