Assigned
Status Update
Comments
af...@gmail.com <af...@gmail.com> #2
Comment has been deleted.
si...@google.com <si...@google.com>
jn...@google.com <jn...@google.com> #3
Any guesses, on which date 1.5 version can be released?
an...@google.com <an...@google.com>
sn...@gmail.com <sn...@gmail.com> #4
You should use
import com.google.android.horologist.compose.nav.SwipeDismissableNavHost
import com.google.android.horologist.compose.nav.composable
instead of
import androidx.wear.compose.navigation.SwipeDismissableNavHost
import androidx.wear.compose.navigation.composable
Description
Jetpack Compose version: 1.2.0
Jetpack Compose component(s) used: wear-compose (1.0.0)
Android Studio Build: 221.5921.22.2211.8881706 (Electric Eel Canary 9)
Kotlin version: 1.7.0
Right now, LazyColumn defines a Modifier called
animateItemPlacement
in LazyItemScope that allows animating items when an item gets removed from the list. This is not available withScalingLazyColumn
.Our use-case is that we have a To-do list and we'd like to have an animation when an item is checked off. For the item being completed, this is doable via
AnimatedVisibility
but once this item gets removed from the list, the other items jump up, which is not ideal.With
animateItemPlacement
support, it would be possible to have those items animate up smoothly.