rememberIconImage

fun rememberIconImage(key: Any?, painter: <Error class: unknown class>): IconImage

Create and remember a Bitmap with Painter.

Return

a Bitmap

Parameters

painter

the Painter to provide the bitmap


Create and remember a Bitmap with resourceId.

Return

a Bitmap

Parameters

resourceId

the resource id to be loaded to the image