ArrayIndexOutOfBoundsException when populating RecyclerView

前端 未结 3 2023
自闭症患者
自闭症患者 2021-01-06 23:02

I am getting an error every so often when I try to populate my RecyclerView but the error seems to happening internally in the StaggeredGridLayoutManager.

3条回答
  •  情深已故
    2021-01-06 23:48

    This bug has been solved by google in version 21.0.2:

    compile "com.android.support:support-v4:21.0.2"
    compile "com.android.support:recyclerview-v7:21.0.2"
    

提交回复
热议问题