ShimmerTileSchema
data class ShimmerTileSchema(val id: String, val tiles: SerializableImmutableList<TileSchema>, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility) : TileSchema
Renders a Box hosting tiles with a continuously animated shimmer applied over its whole subtree (via the compose-shimmer library), the usual way to build a skeleton/loading placeholder out of plain tiles.
Triggers dispatched:
OnDisplayEventTrigger— fired once when the tile enters composition (keyed by tile id).
Notes: the shimmer is purely visual — children stay interactive, so build the placeholder out of non-clickable tiles. The tile is never clickable itself, and children are laid out with Box semantics (stacked, no scope CompositionLocal).
Constructors
Link copied to clipboard
constructor(id: String, tiles: SerializableImmutableList<TileSchema>, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility)
Properties
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "searchableTerms")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard