Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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