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
java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1
at java.util.ArrayList.get(ArrayList.java:413)
at me.yokeyword.indexablerv.IndexableLayout$5.onScrolled(IndexableLayout.java:399)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4618)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3679)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3323)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3844)
java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1
at java.util.ArrayList.get(ArrayList.java:413)
at me.yokeyword.indexablerv.IndexableLayout$5.onScrolled(IndexableLayout.java:399)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4618)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3679)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3323)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3844)
IndexableLayout.this.mIndexBar.setSelection(firstItemPosition);
if(IndexableLayout.this.mSticyEnable) {
ArrayList list = IndexableLayout.this.mRealAdapter.getItems();
if(IndexableLayout.this.mStickyViewHolder != null && list.size() > firstItemPosition) {
EntityWrapper wrapper = (EntityWrapper)list.get(firstItemPosition);
当 indexableAdapter setDatas 为空 list 时, firstItemPosition 就返回 -1 了。
The text was updated successfully, but these errors were encountered: