DingMouRen / LayoutManagerGroup

:point_right: Customize the LayoutManager of RecyclerView(自定义LayoutManager)
4.98k stars 679 forks source link

这个地方怎么释放的是index位置而不是position位置? #46

Open Victor2018 opened 5 years ago

Victor2018 commented 5 years ago

这个地方怎么释放的是index位置而不是position位置? @Override public void onPageRelease(boolean isNext, int position) { Log.e(TAG,"onPageRelease()......position = " + position + "-isNext = "+ isNext); int index = 0; if (isNext){ index = 0; }else { index = 1; } releaseVideo(index); }