ListenWind
Results
1
comments of
ListenWind
我目前这样改了一下 void scrollTargetPositionToCenter(final int position, int itemHeight) { if (position < 0) return; int curCenterPn=findCenterItemPosition(); int distance = itemHeight * position; if(curCenterPn!=RecyclerView.NO_POSITION) { distance = itemHeight * (position-curCenterPn); } mRecyclerView.smoothScrollBy(0,...