Satyam G

06/21/2022, 10:46 AM
Hello, Do any one have any idea on How to Make BackHandler {....} work when dialog is already displayed on Screen. I want to exit app when back button is pressed when Dialog is displayed . But right now that Back event is catch by system and dismiss the Dialog. how to resolve this ?

Colton Idle

06/21/2022, 12:16 PM
I'm not necessarily answering your question here, but exiting your app when a dialog is displayed and the user hits the back button? That works completely opposite to what android users are used to on the platform. id reconsider if possible.
👍 1


06/21/2022, 1:59 PM
May be one of those "are you sure you want to exit the app, press back again to confirm" dialogs.