Question: How do I disable backpress on specific screen?
ronjunevaldoz opened this issue · comments
Ron June Valdoz commented
I'm not sure how do I disable back press using the library. I've seen the BackHandler
but not sure how do I used it here. Tried to use PopUpTo
.
navigator.navigate(
it.route,
NavOptions( popUpTo = PopUpTo(it.route, true))
)
Tlaster commented
BackHandler
is the same as the Jetpack's BackHandler
, you can check out the doc from jetpack
Tlaster commented
Close as inactive.