NoDataScreen
Displays a placeholder screen when no data is available.
A progress indicator with an optional icon is shown in the center of the screen. A retry button and native ad card can be toggled through showRetry and showAd respectively. When isError is true error colors are used.
Parameters
Label for the retry action button.
Message describing the empty state.
Icon rendered at the center of the indicator: any ToolkitIcon, such as a drawable or an animated icon. An overload takes an ImageVector.
Whether to display the retry button.
Callback invoked when the retry button is pressed.
Whether a NoDataNativeAdCard should be displayed.
Shows the indicator with error styling when true.
The message as text, for one that is not a string resource, such as a Loadable.Failed message. Shown instead of textMessage when given.
NoDataScreen with an ImageVector icon.