Hello! Is there equivalent for CircularProgressLay...
# compose-wear
d
Hello! Is there equivalent for CircularProgressLayout available in Compose for Wear OS? Thank you!
b
I just using circular indicator from compose.material.
Copy code
CircularProgressIndicator
If you need some progress animation in CurcularProgressIndicator, then use animateFloatAsState
Copy code
animatedProgress by animateFloatAsState(targetValue = your value, animationSpec = ProgressIndicatorDefaults.ProgressAnimationSpec)
CurcularProgressIndicator(
   progress = animatedProgress,
)
👍 1
🦜 1
j
We are working on progress indicators for Wear OS at the moment, should be in the next couple of releases
👍 2
👍🏽 1
c
In the meantime, it’s pretty simple to build a custom one if you need. You could even just copy the source from AOSP since most of the code is in one file (~100 lines I think)