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

How to reload SupplementaryElement (UICollectionElementKindSectionHeader) #3306

@SureshSc

Description

@SureshSc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions