GridPagerSnapHelper
GridPagerSnapHelper copied to clipboard
A powerful tools to impl grid paging layout by RecyclerView
如题,虽然不影响使用
在使用过程中发现,底部的indicator在滑动到最后一页时,底部的indicator的标记展示在倒数第二个上,经过查找代码,发现是在BasePageIndicator的recyclerView的OnScrollListener的事件处理的问题,代码如下: if (newState == RecyclerView.SCROLL_STATE_IDLE) { LayoutManager layoutManager = recyclerView.getLayoutManager(); int position = 0; if (layoutManager instanceof GridLayoutManager) { GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; position = gridLayoutManager.findFirstVisibleItemPosition(); //这句代码的问题 int row...