Difference Between GridView and Staggered GridView
StaggeredGridlayout
- The children are in a staggered grid format.
- It supports horizontal and vertical layout
- Example: Pinterest, a wallpaper app, a status app, etc
GridView
- The children’s in a rectangular grid format
- It also supports horizontal and vertical layout
- Example: Flipkart, Amazon, wallpaper app, etc
Staggered GridView in Android with Example
StaggeredGridLayout is a LayoutManager in the android studio similar to GridView, but in StaggeredGridLayout each grid has its own height and width.