Android List View Array Index Out Of Bounds Exception - No clues?

前端 未结 4 717
梦如初夏
梦如初夏 2021-01-06 05:34

I have an app which loads a listview when opened, however I am getting an Array Index Out Of Bounds Exception, with no clues as to where the problem lies. It is trying to ac

4条回答
  •  太阳男子
    2021-01-06 05:46

    Check your layouts and cursor column name array lengths in the CursorAdapter's constructor. When the two array's length mismatch, it causes ArrayOutOfBoundsException.

提交回复
热议问题