yanzhenjie / SwipeRecyclerView

:melon: RecyclerView侧滑菜单,Item拖拽,滑动删除Item,自动加载更多,HeaderView,FooterView,Item分组黏贴。
https://github.com/yanzhenjie/SwipeRecyclerView
Apache License 2.0
5.65k stars 1.09k forks source link

已支持。 #268

Closed zhijunhong closed 5 years ago

zhijunhong commented 5 years ago

已支持。

Originally posted by @yanzhenjie in https://github.com/yanzhenjie/SwipeRecyclerView/issues/64#issuecomment-318237191

楼主,我注释了 // 想让不同的ViewType之间可以拖拽,就是去掉这个判断。 if (srcHolder.getItemViewType() != targetHolder.getItemViewType()) return false;

还是不行啊?求解,谢谢~

zhijunhong commented 5 years ago

可以考虑把两种类型放在一种类型的设计,无非就是布局的visiable和gone