Image Painter
A Painter that asynchronously executes ImageRequests and draws the result. Instances can only be created with rememberImagePainter.
Types
Execute Callback
Link copied to clipboard
fun interface ExecuteCallback
Content copied to clipboard
Invoked immediately before the ImagePainter executes a new image request. Return 'true' to proceed with the request. Return 'false' to skip executing the request.
Snapshot
Link copied to clipboard
@ExperimentalCoilApi
Content copied to clipboard
A snapshot of the ImagePainter's properties.
State
Link copied to clipboard
The current state of the ImagePainter.
Functions
on Abandoned
Link copied to clipboard
open override fun onAbandoned()
Content copied to clipboard
on Forgotten
Link copied to clipboard
open override fun onForgotten()
Content copied to clipboard
on Remembered
Link copied to clipboard
open override fun onRemembered()
Content copied to clipboard
Properties
imageLoader
Link copied to clipboard
intrinsicSize
Link copied to clipboard
state
Link copied to clipboard