Tgo1014
07/27/2021, 9:18 AMIcon(ImageBitmap.imageResource(R.mipmap.ic_launcher), contentDescription = null)
And I’m receiving:
java.lang.ClassCastException: class android.graphics.drawable.AdaptiveIconDrawable cannot be cast to class android.graphics.drawable.BitmapDrawable
Michał Diner
07/27/2021, 9:31 AMpainterResource = (@DrawableRes id: Int)
Tgo1014
07/27/2021, 9:39 AMjava.lang.IllegalArgumentException: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
Tgo1014
07/27/2021, 9:40 AMMichał Diner
07/27/2021, 9:41 AMTgo1014
07/27/2021, 9:42 AMMichał Diner
07/27/2021, 9:44 AMTgo1014
07/27/2021, 9:46 AMTgo1014
07/27/2021, 10:07 AMmiqbaldc
04/07/2022, 7:01 AM