is there no `BackHandler` composable in compose mu...
# compose
r
is there no
BackHandler
composable in compose multiplatform?
j
yep.
use
BackHandler{}
r
Can't find it.
j
oh. It's from navigation library. So, if you're using
precompose
then you'll get it
r
I can see that
BackHandler
is located in
androidx.activity
so that explains it.
👍 1
z
“Back” as a generic event is an Android-specific concept, it wouldn’t make sense in multiplatform
👍 1
541 Views