SuperRecycleView icon indicating copy to clipboard operation
SuperRecycleView copied to clipboard

添加了headview 和footView 后如何使用 notifyItemRemoved方法

Open wanyang opened this issue 6 years ago • 1 comments

java.lang.IllegalArgumentException: Called attach on a child which is not detached: ViewHolder{1fb6a56 position=1 id=-1, oldPos=-1, pLpos:-1 not recyclable(1)}

wanyang avatar Aug 15 '18 05:08 wanyang

如果没有添加自定义header,那就下标加1,因为默认有个refreshHeader。 如果你添加了自定义的header,有多少个就在上一条基础上再加多少

g19980115 avatar Nov 01 '18 01:11 g19980115