I'm using the new SNAPSHOT Marcel mentioned above. I came across some odd behavior when trying to use the lambda clickable GlanceModifier.
I have a list which is iterated over and a composable is created for each item:
However, whenever any of the CellItems are clicked, all the onClicks are triggered as well.
It looks like this is because GlanceModifier.clickable is passing a null key to the LambdaAction which generates a key but is only unique for each code location.
Using the LambdaAction directly with a UUID key solved the issue. Took me a bit to figure this one out as this is pretty standard when using Compose
m
Marcel Pinto
12/19/2022, 12:15 PM
It should be indeed possible. Could you report a new issue?
q
Qusai Zakir
12/19/2022, 1:34 PM
Created, thanks for the work on this - this latest update is very exciting!