# ChatLayoutInvalidationContext

    public final class ChatLayoutInvalidationContext : UICollectionViewLayoutInvalidationContext

Custom implementation of `UICollectionViewLayoutInvalidationContext`

- `invalidateLayoutMetrics`

  Indicates whether to recompute the positions and sizes of the items based on the current collection view and delegate layout metrics.

  #### Declaration

  Swift

      public var invalidateLayoutMetrics: Bool