PlaceholderDefaults
object PlaceholderDefaults
Contains the default values used for providing placeholders.
There are two distinct but coordinated aspects to placeholders in Compose for Wear OS. Firstly Modifier.placeholder which is drawn instead of content that is not yet loaded. Secondly a placeholder shimmer effect Modifier.placeholderShimmer effect which runs in an animation loop while waiting for the data to load. Note that besides placeholders, cached content may also be shown while waiting for the data to refresh.
Summary
Public properties |
|
|---|---|
Color |
Default |
Shape |
Default |
Color |
Default |
Public properties
shape
val shape: Shape
Default Shape for Modifier.placeholder and Modifier.placeholderShimmer.