Summary

In this chapter, we have seen and implemented a common user interface design with dialog windows by using the DialogFragment class.

We went a step further when we started the Note to self app by implementing more complicated dialogs that can capture information from the user. We saw that DialogFragment enables us to have any UI we like in a dialog box.

In the next chapter, we will begin to deal with the obvious problem whereby the user can only have one note by exploring Java arrays and their close cousin, ArrayList, as well as another data-related class, Map.

Get Android Programming for Beginners - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.