android gridlayoutmanager with big view code example
Example 1: how to set number of columns in recyclerview android
recyclerView.setLayoutManager(new GridLayoutManager(this, 2));
Example 2: how to set number of columns in recyclerview android
.//Add in recyclerView widget in xml file
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:spanCount="2"