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

loloof64

11/25/2020, 1:57 PM
Hi ! Is there an equivalent of DrawVector in compose 1.0.0-alpha06 ?
a

André Kindwall

11/25/2020, 3:24 PM
Changelog says • Deprecated the previous DrawVector composables in favor of VectorPainter. This was back in version 0.1.0-dev08
l

loloof64

11/25/2020, 3:29 PM
Thank you. I'm gonna try with VectorPainter. 😃
Finally found this in the alpha06 change version :
Copy code
Deprecate VectorPainter in favor of rememberVectorPainter to better indicate that the composable API internally leverages 'remember' to persist data across compositions.
So I have to use rememberVectorPainter.
3 Views