rememberAirshipEmbeddedViewGroupState

fun rememberAirshipEmbeddedViewGroupState(embeddedId: String, selection: AirshipEmbeddedSelection = AirshipEmbeddedSelection.Priority, filterInstances: AirshipEmbeddedFilter? = null): AirshipEmbeddedViewGroupState(source)

Creates a AirshipEmbeddedViewGroupState that can be used to manage the state of an embedded view group.

Return

a new AirshipEmbeddedViewGroupState instance.

Parameters

embeddedId

the embedded ID.

selection

the AirshipEmbeddedSelection that controls how instances are ordered.


Deprecated

Use rememberAirshipEmbeddedViewGroupState with AirshipEmbeddedSelection instead.

Creates a AirshipEmbeddedViewGroupState that can be used to manage the state of an embedded view group.

Return

a new AirshipEmbeddedViewGroupState instance.

Parameters

embeddedId

the embedded ID.

comparator

optional Comparator used to sort available embedded contents.