Bam
08/01/2024, 8:54 AMCarouselState
is recommended to be setup like so:
HorizontalMultiBrowseCarousel(
modifier = carouselModifier,
state = rememberCarouselState { images.size },
...
) { index ->
I am unsure of how, or if it is at all possible, to update size of the Carousel when the size of the images.size
changes.
I have tried various things, but there seem to be pros/cons to the approaches I have tried, like the Carousel jumping around.
Is there a best/recommended approach to this?Robert C
08/01/2024, 12:04 PMRobert C
08/01/2024, 12:07 PMBam
08/01/2024, 12:08 PMRobert C
08/01/2024, 12:10 PMRobert C
08/01/2024, 12:10 PM