The vertically scrolling
RecyclerView, which we have been dealing with in the previous chapters, is a great device for negotiating long, simple lists where there is either not much data in each item or where each item only displays a small part of the whole. There are, of course, times when we will want to display a full screen of information and still have this as a part of a list. This is where the
ViewPager comes in as it allows us to chain together full-page, mini Activities called Fragments in such a way that we can navigate through them with simple, intuitive horizontal swipe gestures.
Along with making use of the variety of views and widgets available to us, there are often times when we would ...