core-ktx / androidx.graphics.drawable / android.graphics.Bitmap / toIcon

toIcon

inline fun Bitmap.toIcon(): Icon

Create an Icon from this Bitmap.

See Also

Icon.createWithBitmap