Closed yccheok closed 5 years ago
Sounds good 👍
Hi @yccheok,
We already have a method getSectionItemViewType(position)
, could you please call this new method getSectionItemViewTypeForAdapterViewType(viewType)
?
Could you please submit a PR to merge into develop
with your commit?
Thanks
@luizgrp
Done. Hope you like my change.
https://github.com/luizgrp/SectionedRecyclerViewAdapter/pull/129
Closing as it's currently in develop.
Currently, in
SectionedRecyclerViewAdapter
, we already haveI was wondering, can we have something like
One of the use case is during drag-n-move, in
ItemTouchHelper.Callback
(I don't want to drag-n-move non loaded item), instead of writingI can write as
https://github.com/yccheok/SectionedRecyclerViewAdapter/commit/ee1e4bfccbff7a60bbda51cb6541b1c3f220835e