remember Image Painter
@Composable
Content copied to clipboard
Return an ImagePainter that will execute an ImageRequest using imageLoader.
Parameters
data
The ImageRequest.data to load.
image Loader
The ImageLoader that will be used to execute the request.
on Execute
Called immediately before the ImagePainter launches an image request. Return 'true' to proceed with the request. Return 'false' to skip executing the request.
builder
An optional lambda to configure the request.
@Composable
Content copied to clipboard
Return an ImagePainter that will execute the request using imageLoader.
Parameters
request
The ImageRequest to execute.
image Loader
The ImageLoader that will be used to execute request.
on Execute
Called immediately before the ImagePainter launches an image request. Return 'true' to proceed with the request. Return 'false' to skip executing the request.