Working with Managed Dialogs

Android follows a managed-dialog protocol to promote the reuse of previously created dialog instances rather than create new dialogs in response to actions. In this section, we will talk about the details of the managed-dialog protocol and show you how to implement the alert dialog as a managed dialog. However, in our view, the managed-dialog protocol makes using dialogs tedious. We will subsequently develop a small framework to abstract out most of this protocol to make it easier to work with managed dialogs.

0 0

Post a comment