I have a short question. How is it possible to make headers for groups on cards on a recyclerview like of the image below.
Thanks a lot for answers
I have a short question. How is it possible to make headers for groups on cards on a recyclerview like of the image below.
Thanks a lot for answers
You need to set another type of ViewHolder
in the RecyclerView
, and override the method getItemViewType
to select which ones you need to paint. You can learn more about this in How to create RecyclerView with multiple view type?