Open ngdinhkhoa120691 opened 6 years ago
I think we need flexible size to calculate size of cell
public enum LayoutType { case flexible(lineSpacing: CGFloat) }
public protocol InfiniteScrollingBehaviourDelegate: class { func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize }
ex:
@ngdinhkhoa120691 do you have a working example?
I think we need flexible size to calculate size of cell