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

Paul

12/02/2021, 9:13 PM
I was checking the
MotionLayout
for Compose and cannot understand whether it supports specifying
OnSwipe
gestures that we can define inside scene files in XML. Is it something that will be added later on, because the docs say that the first version of
MotionLayout
for Compose supports only a subset of features?
For example, I want to migrate to Compose this file and it has the following:
@Nicolas Roard
n

Nicolas Roard

12/02/2021, 9:57 PM
Yep this will come later, John Hoford would have more details (I left Google 4 months ago)
But check the compose examples we have on GitHub on ConstraintLayout.org there is a few examples on how to map gestures to MotionLayout
p

Paul

12/02/2021, 9:59 PM
Thanks. Will do.
c

Colton Idle

12/02/2021, 10:19 PM
Hope you're building cool cars now @Nicolas Roard get me a discount code
n

Nicolas Roard

12/02/2021, 10:23 PM
Ahah :-) -- the cars are indeed very cool..