I'm using GridLayoutManager(GLM)
in my RecyclerView
. In the RecyclerView
, I will populate the CardViews
, how can I set my GLM
to render only one CardView
in the whole screen ?
If I set the span size as 1, it renders one CardView
per row, not whole screen.
In Simple, I want to show 1 CardView
occupying two columns and two rows. How to achieve this ?