Summary
In this chapter, we finally had some real interaction between our code and our UI. It turns out that every time we add a widget to our UI, we are adding a Java object of a class that we can access with a proper reference in our Java code. All of these objects are stored in a separate area of memory called the Heap, along with any classes of our own.
We are now in a position where we can learn about and do cool things with some of the more interesting widgets. We will look at loads of them in the next chapter, Chapter 13, Anonymous Classes - Bringing Android Widgets to Life, and then keep introducing further new widgets throughout the rest of the book as well.