Hi guys, does anyone has an example on how animate...
# compose
a
Hi guys, does anyone has an example on how animate a
LinearProgressIndicator
?, by animate i mean to fill the progress to certain value, thanks!
t
this repo may be worth checking out.
m
In general you can just utilize
animate
API here
Copy code
@Composable fun MyAnimatedProgress(progress: Float) {
   val animatedValue = animate(progress)
   LinearProgressIndicator(animatedValue)
}
👆 1
😍 1
a
Thanks @tonnyl, @matvei