How can I detect whether an Alert was dismissed by the user pressing the physical Back button on Android. Or how can I detect whether it was dismissed by the user tapping on the backdrop?
Or, if anything, can I prevent the physical Back button from dismissing an alert?