StaggeredGridLayoutManager
Constructor used when layout manager is set in XML by RecyclerView attribute "layoutManager". Defaults to single column and vertical.
Creates a StaggeredGridLayoutManager with given parameters.
Parameters
spanCount
If orientation is vertical, spanCount is number of columns. If orientation is horizontal, spanCount is number of rows.
orientation