GalleryLayoutManager icon indicating copy to clipboard operation
GalleryLayoutManager copied to clipboard

你好,onItemSelected方法返回的position有时候是错误的

Open YanxuLi opened this issue 7 years ago • 1 comments

你好,我是用了GalleryLayoutManager(GalleryLayoutManager.HORIZONTAL)在我的代码中,并且添加了setOnItemSelectedListener监听,但是在onItemSelected的回调中,position会错乱,总共有四个item,从刚进入展示第一个到逐个滑动到最后一个,position的变化是0-1-0-1-2-2-3-3,在滑动到最后一个item之前,有时会错乱,全部加载之后再滑动才正常

YanxuLi avatar Jan 26 '18 07:01 YanxuLi

@YanxuLi 我使用过程没遇到这样的问题,可以上传个 demo 看看吗?

BCsl avatar Feb 06 '18 10:02 BCsl