flexbox-layout icon indicating copy to clipboard operation
flexbox-layout copied to clipboard

Recyclerview notifyItemRemoved not working when using FlexBoxLayoutManager

Open suneeshekm opened this issue 2 years ago • 0 comments

  • [x] I have searched existing issues and confirmed this is not a duplicate

I was trying to implement a horizontal recycler view with dynamic height using FlexBoxLayoutManager and I came across an issue while invoking the notifyItemRemoved method.

Issues and steps to reproduce

Removing the first item seems fine, but if we try to remove any other item, all the list item disappears.

ezgif com-gif-maker

Expected behavior

Normal recycler-view item removal behavior.

Version of the flexbox library

3.0.0

Link to code

https://github.com/suneeshekm/Recyclerview-with-flexboxlayoutmanager

suneeshekm avatar Jan 28 '22 16:01 suneeshekm