InfiniteScrolling
InfiniteScrolling copied to clipboard
To need flexible size
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?