Skip to content

HGPlaceholder + Custom collection view layout == ? #49

@semen-sequenia

Description

@semen-sequenia

When i use your library on UICollection view with custom layout, after removing all items, i got crash here:
override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? { return cache[indexPath.item] }
But, on method prepare, i always clean my cache.

Helps only invalidation collection view layout after reloadData()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions