AsyncDisplayKit
AsyncDisplayKit copied to clipboard
How to reload SupplementaryElement (UICollectionElementKindSectionHeader)
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