pre layout item for pixels of distance

This commit is contained in:
longerian
2017-10-09 20:22:13 +08:00
parent 786941618c
commit f69cf19db6
@@ -1153,7 +1153,7 @@ class ExposeLinearLayoutManagerEx extends LinearLayoutManager {
}
recycleByLayoutStateExpose(recycler, layoutState);
}
int remainingSpace = layoutState.mAvailable + layoutState.mExtra;
int remainingSpace = layoutState.mAvailable + layoutState.mExtra + recycleOffset;
while (remainingSpace > 0 && layoutState.hasMore(state)) {
layoutChunkResultCache.resetInternal();
layoutChunk(recycler, state, layoutState, layoutChunkResultCache);