Class PlaceholderPlugin.Failure
-
- All Implemented Interfaces:
-
com.skydoves.landscapist.plugins.ImagePlugin,com.skydoves.landscapist.plugins.ImagePlugin.FailureStatePlugin
public final class PlaceholderPlugin.Failure extends PlaceholderPlugin implements ImagePlugin.FailureStatePlugin
A pluggable failure placeholder that will be rendered depending on the image loading states is ImageLoadState.Failure.
-
-
Constructor Summary
Constructors Constructor Description PlaceholderPlugin.Failure(Object source)
-
Method Summary
Modifier and Type Method Description final ObjectgetSource()One of source of ImageBitmap, ImageVector, or Painter to render Image Composable. ImagePlugincompose(Modifier modifier, ImageOptions imageOptions, Throwable reason)-
-
Constructor Detail
-
PlaceholderPlugin.Failure
PlaceholderPlugin.Failure(Object source)
-
-
Method Detail
-
getSource
final Object getSource()
One of source of ImageBitmap, ImageVector, or Painter to render Image Composable.
-
compose
@Composable() ImagePlugin compose(Modifier modifier, ImageOptions imageOptions, Throwable reason)
-
-
-
-