DingMouRen/LayoutManagerGroup

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

Opened this issue · 0 comments

这个地方怎么释放的是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);
}