Sheroz Nazhmudinov05/01/2020, 12:14 PM
in Compose, and had couple of questions. First is about
- i see that it’s an equivalent of value animator (correct me if i’m wrong). Is there a way to set the duration to it, and delay before the start? Second is about the
composable - is there a way to start the transition based on the user event (e.g., click)? Any hints/suggestions would be appreciated! 🙂
Zach Klippenstein (he/him) [MOD]05/01/2020, 1:49 PM
. There are lots of examples of this in the framework, take a look at the implementation of any UI control that animates itself (eg.
, radio buttons, I think Slider might use them).
Sheroz Nazhmudinov05/01/2020, 2:19 PM
as specified in the article, but
angle using tween
gets highlighted as an unresolved reference. Have you tried it before?
Kazemihabib199605/01/2020, 2:21 PM
private val angle = FloatPropKey()
Sheroz Nazhmudinov05/01/2020, 2:22 PM