Chapter 6. Displaying and Fetching Information Using Dialogs and Fragments
In This Chapter
• Understanding Fragments and Their Life Cycles
• Creating Fragments Through XML and Java Code
• Understanding Specialized Fragments,
A dialog is a smaller window that pops up to interact with the user. It can display important messages and can even prompt for some data. Once the interaction with the dialog is over, the dialog disappears, allowing the user to continue with the application. Fragments, as the name suggests, enable us to fragment ...