// set the grid layout style, 2 is the number of columns
gridRecycler.setLayoutManager (new new GridLayoutManager (getContext (), 2));
gridRecycler.setAdapter (new new RecyclerGridAdapter (getContext (), gridData));
Okay, so we'll run it , the effect is as follows:
? This completes the layout grid settings, the effect was not too bad.
---------------------