Check out example codes for "recyclerview kotlin grid layout". It will help you in understanding the concepts better.

Code Example 1

val manager = GridLayoutManager(activity, 5, GridLayoutManager.HORIZONTAL, false)

Learn ReactJs, React Native from akashmittal.com