rememberAirshipEmbeddedViewGroupState
fun rememberAirshipEmbeddedViewGroupState(embeddedId: String, selection: AirshipEmbeddedSelection = AirshipEmbeddedSelection.Priority): 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.
fun rememberAirshipEmbeddedViewGroupState(embeddedId: String, comparator: Comparator<AirshipEmbeddedInfo>?): AirshipEmbeddedViewGroupState(source)
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.