Summary
In this chapter, we saw how we can use pagers for simple image galleries with just a few lines of code and some very simple layouts. We achieved this so easily because of the ImagePagerAdapter
class.
In the next chapter, we will look at another really cool UI element that is used in many of the latest Android apps, probably because it looks great and is a real pleasure, as well as extremely practical, to use. The NavigationView
layout will enable us to design and implement different layouts with entirely different behavior (code). Let's take a look at the NavigationView
layout.