ImageCarousel
public final static Unit ImageCarousel(List<Pair<String, String>> images, Modifier modifier, PagerState pagerState, Long autoScrollDuration, Painter placeholder)
An image carousel to display a list of images (by URL) with automatic timed paging and page dot indicators.
Parameters
images
list of image URLs to display.
modifier
Compose Modifier to use.
pagerState
PagerState used by included HorizontalPager.
autoScrollDuration
Time, in ms, to delay between automatically scrolling the pager. Pass zero to disable auto scrolling.
placeholder
placeholder used while images are loaded.