AirshipEmbeddedView
A container that displays embedded content for the given embeddedId
.
When included inside of a lazy composable or scrolling list, prefer using the variant of this composable that accepts an AirshipEmbeddedViewState, which may be hoisted to avoid unnecessary recompositions.
Parameters
the embedded ID.
the modifier to apply to this layout.
optional Comparator
used to sort available embedded contents.
optional alignment of the embedded content.
optional provider for the parent width.
optional provider for the parent height.
optional ContentTransform used to animate content changes.
optional placeholder composable to display when no content is available.
A container that displays embedded content for the embeddedId
defined on the given AirshipEmbeddedViewState instance.
This composable may be useful when access to the embedded view state is needed outside of the AirshipEmbeddedView
composable, embedded view state should be hoisted, and for advanced custom logic that depends on the availability of embedded view content.
When included inside of a lazy composable or scrolling list, prefer using the default value for animatedContentTransform
and use the animation support provided by the lazy composable.
Parameters
the AirshipEmbeddedViewState to be used by this embedded view.
the modifier to apply to this layout.
optional alignment of the embedded content.
optional ContentTransform used to animate content changes.
optional provider for the parent width.
optional provider for the parent height.
optional placeholder composable to display when no content is available.