Lev Teytelman
01/12/2024, 7:24 AMLazyRow
but there doesn't seem to be a way to track when the user swipes to a different item (when using SnapFlingBehavior
), so that's not a viable option. Using a pager seems redundant, as it tracks many of the same attributes as Child Pages and it seems like it would be difficult to sync the state from the component with the Composable. I'd like to have that same kind of flinging feel that SnapFlingBehavior
and the pager give, as well as detect when the user swipes between components. Maybe I'm approaching this from the wrong angle? Thanks.Arkadii Ivanov
01/12/2024, 10:27 AMLev Teytelman
01/12/2024, 8:12 PMArkadii Ivanov
01/12/2024, 8:17 PM