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

Omkar Amberkar

01/25/2023, 3:57 PM
what is the difference between
onPreviewKeyEvent
vs
onKeyEvent
l

Loney Chou

01/26/2023, 12:35 AM
Preview key is like
PointerEventPass.Initial
, where parent callbacks gets invoked first, while the other one is like
PointerEventPass.Main
, where child callbacks gets invoked first. Preview always happens first.
230 Views