Skip to content

How to hide a supplementary view in ASCollectionNode other than reloadData? #2125

@mlch911

Description

@mlch911

I have a footer in ASCollectionNode. I want to hide this footer after loading more data. But I can't hide it other than reloadData.
I have tried these ways:

reloadSections
relayoutItems
performBatchUpdates

I can change its size by the value returned in sizeRangeForFooterInSection. But once I return ASSizeRangeZero, the old footer wouldn't change at all.

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