davideas / FlexibleAdapter

Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Apache License 2.0
3.55k stars 548 forks source link

Is there any way to make FlipView work with FlexibleAdapter #743

Open laszlo1337 opened 5 years ago

laszlo1337 commented 5 years ago

I wanted to flip the FlipView on toggleSelection() but bindViewHolder() is not called. Should there be like onSelected() method or something? Notifying adapter doesn't work, because the FlipView doesn't animate then.

I implemented multiselection with xml activated state and it works fine, but I'd want to add icon flip on item selection

ljaniszewski commented 4 years ago

Any solutions for that? If I call toggleSelection in onItemClick and flip the view there, then the ripple does not appear, but flipView flips with animation. If I don't flip the flipView then the ripple works fine. Looks weird without the ripple tho and I would like to fix it somehow if possible.