display 3 item in recycler view usng gridlayout view code example
Example: how to set recycler adapter in gridview
recyclerView.setLayoutManager(new GridLayoutManager(this, numberOfColumns));
recyclerView.setLayoutManager(new GridLayoutManager(this, numberOfColumns));