XRecyclerView icon indicating copy to clipboard operation
XRecyclerView copied to clipboard

适配器的getItemViewType()中的position出现负值

Open karthus opened this issue 8 years ago • 2 comments

MyAdapter里面的getItemViewType()方法会重复加载,而且会出现负数,无法实现根据type来显示不同的布局 @jianghejie

karthus avatar Oct 28 '16 02:10 karthus

我现在也是一样出现这个问题, 只要调用getItemViewType就会出现这个问题

MakerYan avatar Jan 05 '17 07:01 MakerYan

我的多中item类型返回了-2。。。

caishengyan avatar Jul 31 '17 09:07 caishengyan