This is a simple demo that shows how to integrate GridView and ViewPager together.
Images are displayed in a GridView, and onClick, the image is displayed in a new Activity where the user can swipe left/right and view the next/previous image.
This repo is related to the following post.
The Kotlin version of this repo can be found here.