Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

How to reload SupplementaryElement (UICollectionElementKindSectionHeader) #3306

Open
SureshSc opened this issue Apr 4, 2018 · 0 comments
Open

Comments

@SureshSc
Copy link

SureshSc commented Apr 4, 2018

Is there any provision to changed the height of SectionHeader and reload SectionHeader?

func collectionNode(_ collectionNode: ASCollectionNode, supplementaryElementKindsInSection section: Int) -> [String] {
        return [UICollectionElementKindSectionHeader]
    }

Actually ASCollectionNode.reloadData() reloads sectionheader but its expensive.

Usecase: Based on API's response i wanna hide and show header

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant