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
{{ message }}
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
hi , I am using StaggeredGridLayoutManager, in order to achieve the rolling load more so added footer,when scroll last position appear footer get crash,can you advice me how to do that? thanks.
java.lang.ArrayIndexOutOfBoundsException: src.length=11 srcPos=0 dst.length=10 dstPos=0 length=11
at java.lang.System.arraycopy(Native Method)
at org.lucasr.twowayview.widget.ItemEntries.ensureSize(ItemEntries.java:57)
at org.lucasr.twowayview.widget.ItemEntries.offsetForAddition(ItemEntries.java:125)
at org.lucasr.twowayview.widget.BaseLayoutManager.offsetForAddition(BaseLayoutManager.java:229)
at org.lucasr.twowayview.widget.BaseLayoutManager.handleUpdate(BaseLayoutManager.java:294)
at org.lucasr.twowayview.widget.BaseLayoutManager.onItemsAdded(BaseLayoutManager.java:381)
at android.support.v7.widget.RecyclerView$5.dispatchUpdate(Unknown Source)
at android.support.v7.widget.RecyclerView$5.onDispatchSecondPass(Unknown Source)
at android.support.v7.widget.AdapterHelper.consumeUpdatesInOnePass(Unknown Source)
at android.support.v7.widget.RecyclerView.processAdapterUpdatesAndSetAnimationFlags(Unknown Source)
at android.support.v7.widget.RecyclerView.onMeasure(Unknown Source)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi , I am using StaggeredGridLayoutManager, in order to achieve the rolling load more so added footer,when scroll last position appear footer get crash,can you advice me how to do that? thanks.
java.lang.ArrayIndexOutOfBoundsException: src.length=11 srcPos=0 dst.length=10 dstPos=0 length=11
at java.lang.System.arraycopy(Native Method)
at org.lucasr.twowayview.widget.ItemEntries.ensureSize(ItemEntries.java:57)
at org.lucasr.twowayview.widget.ItemEntries.offsetForAddition(ItemEntries.java:125)
at org.lucasr.twowayview.widget.BaseLayoutManager.offsetForAddition(BaseLayoutManager.java:229)
at org.lucasr.twowayview.widget.BaseLayoutManager.handleUpdate(BaseLayoutManager.java:294)
at org.lucasr.twowayview.widget.BaseLayoutManager.onItemsAdded(BaseLayoutManager.java:381)
at android.support.v7.widget.RecyclerView$5.dispatchUpdate(Unknown Source)
at android.support.v7.widget.RecyclerView$5.onDispatchSecondPass(Unknown Source)
at android.support.v7.widget.AdapterHelper.consumeUpdatesInOnePass(Unknown Source)
at android.support.v7.widget.RecyclerView.processAdapterUpdatesAndSetAnimationFlags(Unknown Source)
at android.support.v7.widget.RecyclerView.onMeasure(Unknown Source)
The text was updated successfully, but these errors were encountered: