-
@Stable() public final class ZoomableImageState
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisImageDisplayedprivate final BooleanisImageDisplayedInFullQualityprivate BooleanisPlaceholderDisplayedprivate final ZoomableStatezoomableState
-
Method Summary
Modifier and Type Method Description final BooleangetIsImageDisplayed()Whether the image is loaded and displayed (not necessarily in its full quality). final UnitsetIsImageDisplayed(Boolean isImageDisplayed)final BooleangetIsImageDisplayedInFullQuality()Whether the image is loaded and displayed in its full quality. final BooleangetIsPlaceholderDisplayed()Whether a preview of the image is displayed, during which zoom & pan interactions will remain disabled. final UnitsetIsPlaceholderDisplayed(Boolean isPlaceholderDisplayed)final ZoomableStategetZoomableState()-
-
Method Detail
-
getIsImageDisplayed
final Boolean getIsImageDisplayed()
Whether the image is loaded and displayed (not necessarily in its full quality). This will be
falsefor placeholders/thumbnails, where isPlaceholderDisplayed can be used instead.
-
setIsImageDisplayed
final Unit setIsImageDisplayed(Boolean isImageDisplayed)
-
getIsImageDisplayedInFullQuality
final Boolean getIsImageDisplayedInFullQuality()
Whether the image is loaded and displayed in its full quality. This be
falsefor placeholders/thumbnails, where isPlaceholderDisplayed can be used instead.
-
getIsPlaceholderDisplayed
final Boolean getIsPlaceholderDisplayed()
Whether a preview of the image is displayed, during which zoom & pan interactions will remain disabled.
-
setIsPlaceholderDisplayed
final Unit setIsPlaceholderDisplayed(Boolean isPlaceholderDisplayed)
-
getZoomableState
final ZoomableState getZoomableState()
-
-
-
-