I'm trying to implement 2 section view controller (they are the same and inherit from the same model) and place multiple items (simple UICollectionView cells) inside each. I managed to do that, but my problem is styling...
Basically I'm trying to access each section to apply background color, rounded corners, add headers with titles and separate them a little etc..
It should look something like image below (mockup, not a real app :-))
Is this at all possible?

README and documentationI made this using decoration view, with customized layout
@PhilCai1993 thanks for your reply. Is there an example I can take a look at?
@staticdreams example
@PhilCai1993 I'm not sure how to apply all of the this to list adapter.
I found a great example of decoration views + header + footer in Swift which looks like this

Apart from the spacing and rounded corners it is exactly what I need, but how to attach it to existing listAdapter? Since it does not expose the same methods as classic collectionView.
I wish the link was helpful, but not really..
Anyway, after much research, trial and error I managed to do exactly what I wanted.
This article has been of huge help to me for those who are interested.
Most helpful comment
Anyway, after much research, trial and error I managed to do exactly what I wanted.
This article has been of huge help to me for those who are interested.