https://kotlinlang.org logo
#compose
Title
# compose
v

Vinay Gaba

04/16/2020, 5:26 AM
I was wondering when AndroidImageAsset is going to be exposed(it’s an internal class right now) so that I don’t have copy paste it. Moreover, is there an alternate way to do what I’m trying to do?
a

Andrey Kulikov

04/16/2020, 9:52 AM
yes, you don't need to copy it anymore as there is a public extension function
fun Bitmap.asImageAsset(): ImageAsset
♥️ 1
☝️ 3
v

Vinay Gaba

04/16/2020, 3:48 PM
ohh I missed that! Thanks for pointing me in the right direction!
3 Views