MerlinLmq
MerlinLmq
@jaywcjlove 请问定义特定区域的快捷键功能实现了吗?
关键问题在于FlexboxLayoutManager.updateFlexLines(int childCount)。这里面计算needsToFill的时候最大值居然是屏幕的宽高,其实不可滚动的情况下,应该加载全部Item,而不是仅加载屏幕可容下的Item数量。 第876到898行改成如下即可: if (isMainAxisDirectionHorizontal()) { isMainSizeChanged = mLastWidth != Integer.MIN_VALUE && mLastWidth != width; // If the mInfinite flag is set to true (that usually happens when RecyclerViews are...
这个scope实在是费解,坑了好大一波才发现这个答案。。。