CollectionViewShelfLayout icon indicating copy to clipboard operation
CollectionViewShelfLayout copied to clipboard

Hiding Some Section Headers

Open CLoutas opened this issue 6 years ago • 1 comments

Hello and thanks for the hard work, much appreciated!

I've been trying to figure out if you can hide certain section headers using CollectionViewShelfLayout, but I don't think you can. Can you?

If not, I would be interested in helping implement it. Any thoughts on how to do it?

CLoutas avatar Oct 13 '19 11:10 CLoutas

You can add a new delegate method asking for the size of the header similar to the UITableViewDelegate and add the logic in the calculateLayout method

pitiphong-p avatar Oct 26 '19 18:10 pitiphong-p