android java recycle view with GridLayout code example
Example 1: how to set recycler adapter in gridview
recyclerView.setLayoutManager(new GridLayoutManager(this, numberOfColumns));
Example 2: recyclerview kotlin grid layout
val manager = GridLayoutManager(activity, 5, GridLayoutManager.HORIZONTAL, false)