https://kotlinlang.org logo
g

gpaligot

09/23/2020, 12:33 PM
Hello, I would like to know what is the recommended practice when we want to import and use an icon with Jetpack Compose? We should use a drawable or convert it in Kotlin? If it is the second one, there is any plan to migrate automatically a vector in Kotlin? Thanks in advance!
l

Louis Pullen-Freilich [G]

09/23/2020, 1:23 PM
If you have it as a drawable, you can continue to use it as a drawable - there's no problem with doing so 🙂
g

gpaligot

09/23/2020, 2:34 PM
Nice. The migration become interesting when you need to make some changes dynamically?