Collection View - Toggle Flow Layout Change flow layouts - flow layout of type vertical scroll and horizontal scroll Update constraints of cell when flow layout changes Use same CollectionView cell when toggling with different flow layouts Demo