remember Image Painter
@Composable()
Content copied to clipboard
Return an ImagePainter that will execute an ImageRequest using LocalImageLoader.
Parameters
data
The ImageRequest.data to load.
onExecute
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 LocalImageLoader.
Parameters
request
The ImageRequest to execute.
onExecute
Called immediately before the ImagePainter launches an image request. Return 'true' to proceed with the request. Return 'false' to skip executing the request.