AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

How to reload SupplementaryElement (UICollectionElementKindSectionHeader)

Open SureshSc opened this issue 6 years ago • 0 comments

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

SureshSc avatar Apr 04 '18 18:04 SureshSc