Summary
In this chapter, we discussed and implemented a common UI design with dialog windows using the DialogFragment
class.
Then, we went a step further and started the Note to Self app by implementing more complicated dialogs that can capture information from the user. We saw that the DialogFragment
class enables us to have any UI we design inside a dialog box.
In the next chapter, we will deal with the obvious problem that the user can only have one note. We will solve this problem by exploring Java arrays and their close cousin, ArrayList
, along with another data-related Java class, Map
.