yanzhenjie / SwipeRecyclerView

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

@yanzhenjie 参考了demo中的自定义拖拽flag的Activity 也不行呀,并发现只要重写getItemViewType,不同的viewType之间就排不了序。求大神再次指点 #267

Closed zhijunhong closed 5 years ago

zhijunhong commented 5 years ago

@yanzhenjie 参考了demo中的自定义拖拽flag的Activity 也不行呀,并发现只要重写getItemViewType,不同的viewType之间就排不了序。求大神再次指点

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

你已经解决了吗?怎么解决的,能不能分享下,谢谢~

zhijunhong commented 5 years ago

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