Skip to content

java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1 #58

Description

@nileshpambhar

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions