Skip to content

This is a dirty POC of a LazyColumn that supports swipe-to-dismiss and reordering

Notifications You must be signed in to change notification settings

KlassenKonstantin/LazyListAnimations

Repository files navigation

This is a dirty POC of a LazyColumn that supports swipe-to-dismiss and reordering. This solution is dirty because items are only really removed from the list after the removal animation has finished. Even worse, we are not really waiting for the animation to end, coincidentally it takes about the same time that the swipe animation takes to settle 🤷.

demo.mp4

Todos

  • Add insert animations
  • Support RTL
  • Hoist the item states (entering, idle, exiting). A swipe should immediately call onRemove, after that the item should still be part of the list until it's gone (Hoisting the animation duration vs MutableTransitionState?)

About

This is a dirty POC of a LazyColumn that supports swipe-to-dismiss and reordering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages