One of the most common methods of displaying multiple photographs and images in mobile devices is
ScrollableView. This view type allows pictures to be swiped to the left and right, and is common among many applications, including Facebook mobile. The method of showing images in this way is reminiscent of flipping through a book or an album, and is very popular due to the natural feel and simple implementation.
In this recipe, we will implement a
ScrollableView object. It will contain any number of images, which can be chosen from the camera or photo gallery. The complete source code for this recipe can be found in the
/Chapter 4/Recipe 4 folder.
Firstly, let's create our
ScrollableView object, ...