I am able to display a GridView using GridLayoutManager
in a RecyclerView
. But I need to add one row called title
based on some condition. How do I display a title row in a GridView? Please refer to the image below:
I need an UI
like the picture above. Item 1, item 2 and so on are in a GridView. Title, Title 2, Title 3 are title rows based on some condition. How do I display the title row?
Try this way
http://tonicartos.github.io/StickyGridHeaders/
https://github.com/koros/GridViewExample/tree/master