Interface

SceneDecoratorStrategy

A strategy that tries to decorate a Scene given another Scene.

Source set: Common
public interface SceneDecoratorStrategy<T : Any>

A strategy that tries to decorate a Scene given another Scene.

Functions

decorateScene

Source set: Common
public fun SceneDecoratorStrategyScope<T>.decorateScene(scene: Scene<T>): Scene<T>

Decorates the given Scene.

The newly returned Scene may or may not include the content of the given scene.

Note: this does not apply to OverlayScene because they are animated separately from non-overlay scenes.

Parameters

scene The scene to be decorated
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: