LazyTilesTileSchema
Renders a Column whose content is fetched from the network at display time: the tile calls url with method, headers and body, expects a JSON array of tile schemas back, and renders them in place of its placeholder.
States:
tiles non-null → the loaded tiles are rendered and no request is made.
tiles
nulland isFailureStatefalse→ placeholderTiles are rendered while the request runs (fired once via a single-shot effect, on the IO dispatcher).tiles
nulland isFailureStatetrue→ failureTiles are rendered and no request is made.
On success the renderer dispatches a local LazyTilesTileEvents.OnTilesLoadedSuccessfully and the holder builds real tile holders from the decoded schemas; on a transport error or a decoding error it dispatches OnTilesLoadFailure and the holder flips isFailureState. A local OnReloadTiles event clears the loaded tiles and the failure flag, putting the tile back into its loading state.
Triggers dispatched:
OnDisplayEventTrigger— fired once when the tile enters composition (keyed by tile id).OnLoadTilesStartEventTrigger— right before the request is sent.OnLoadTilesSuccessEventTrigger— after the response has been received and decoded, so exactly one of this and the failure trigger fires per attempt.OnLoadTilesFailureEventTrigger— on a request or decoding failure; theThrowableis passed as the event's incoming data.
Notes: the request is issued directly by the renderer, not through the event pipeline, so it is not affected by event chaining. Children are laid out in a plain Column with no scope CompositionLocal and no scrolling.