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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With