Here's another example: you create an Android
AlertDialog
with the AlertDialog.Builder
class. Now every time you click one of the buttons of your AlertDialog
, the AlertDialog
is automically dismissed, as well as notifying you that a button was clicked. But you don't want the AlertDialog
to be dismissed, you only want to be notified that a button was clicked!Sometimes doing more is less helpful.
No comments:
Post a Comment