https://kotlinlang.org logo
n

Nikit Bhandari

12/28/2019, 8:24 PM
Hey, in Clickable what's the use of consumeDownOnStart parameter ? What exactly is a down event? I couldn't find any difference in the behaviour of Clickable when I changed the value of the above parameter. (Except for the case when I wrapped it around a Ripple component)
a

Andrey Kulikov

12/30/2019, 8:39 AM
yes, right now it is needed for combining clicks with some press indicators like Ripple. when you not consume down event in Clickable you allow to consume it inside Ripple
2 Views