I’m using `compose-hilt-navigation` and in one of ...
# compose
j
I’m using
compose-hilt-navigation
and in one of the screens i’m using BackHandler(onBack = someCall). Somecall is not getting called any idea? inshort: back handler is not working
o
Check for multiple
BackHandler
's ?
t
I think it doesn’t have anything to do with Hilt or Navigation. What’s
someCall
?
j
@oianmol no, its only one backhandler in entire feature
@theapache64 its just a callback stored in variable.
Copy code
val someCall: () -> Unit = {
    // some work
}
j
Yeh i see
same way I’ve been doing but there’s some issue, callback is not triggering. Alright man thanks, I’ll see