https://kotlinlang.org logo
b

brandonmcansh

08/04/2020, 12:42 PM
Working with LazyColumnItems with a flowable provided backing list I'm hitting a weird UI state where triggering a delete() of
test9
causes
test8
to also be removed visually but remain in the list at the repository level as well as the list that the UI is fed. The
test8
gets added back on "undo" and
test9
gets returned on scroll
using the Modifier.swipeToDelete() that have above
delete()
is triggered on dismiss and logs only show deletion of 9 occuring and restoring of 9
m

Mehdi Haghgoo

08/04/2020, 1:38 PM
@brandonmcansh How do you implement the deletion transition?
b

brandonmcansh

08/04/2020, 1:39 PM
the swipe to delete/dismiss?
m

Mehdi Haghgoo

08/04/2020, 1:39 PM
Yes
an alternative implementation is becoming part of a future dev version of compose
❤️ 3