rememberAirshipEmbeddedCarouselState
Creates and remembers an AirshipEmbeddedCarouselState for the given embeddedId.
Parameters
The embedded ID.
Controls which instances are paged, and in what order. AirshipEmbeddedSelection.ByComparator sorts by its comparator, AirshipEmbeddedSelection.ByInstanceId pages in the order its IDs are listed, showing only those, and AirshipEmbeddedSelection.ByAi pages in the order the model ranked, showing the placeholder rather than an unranked order while it decides; AirshipEmbeddedSelection.Priority preserves arrival order, matching AirshipEmbeddedViewGroup.
Optional AirshipEmbeddedFilter deciding which instances are eligible. Applied before selection, so an excluded instance never becomes a page. Remember the lambda: an unstable one re-subscribes on every recomposition.