recreate

open fun recreate(@NonNull iconId: String, @NonNull bitmap: Bitmap): Icon

Create an Icon using a previously created icon identifier along with a provided Bitmap.

Return

The Icon using the new Bitmap.

Parameters

iconId

The Icon identifier you'd like to recreate.

bitmap

a Bitmap used to replace the current one.