This is the Example of Staggered GridView Layout similar to that of Pinterest. We have used RecyclerView and StaggeredViewLayoutManager to achieve this UI.
The full tutorial at: https://goo.gl/x4TKxB
We have gone over the following things in this tutorial:
1. Set up Gradle Dependencies for using RecyclerView and CardView.
2. Create an Activity Layout with RecyclerView as a ChildView.
3. Create a Layout that will be used as a Grid in the RecyclerView.
4. Create an Activity class where we will have majority of our code.
5. Create and Adapter and ViewHolder for our RecyclerView.
6. Select the Images to show in the Grids of RecyclerView.
7. Set up the RecyclerView.
~-~~-~~~-~~-~
Please watch: "Python Data Structure - Lists in Python"
• Python Lists Tutorial | Datasets in P...
~-~~-~~~-~~-~