FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

Add - Remove items, performBatchUpdates

Open anelad opened this issue 6 years ago • 5 comments

Any way to add, remove items?

anelad avatar Oct 20 '17 16:10 anelad

I have the same query, given the CollectionView is not public, it's not possible to animate item deletion.

mikywan avatar Oct 23 '18 10:10 mikywan

@mikywan what do you think of my suggested addition?

StevenMccracken avatar Jan 21 '19 04:01 StevenMccracken

When the pagerView is infinite, collecting all indexPaths will be time-consuming. Any suggestions will be appreciative.

WenchaoD avatar Jun 08 '20 01:06 WenchaoD

When the pagerView is infinite, collecting all indexPaths will be time-consuming. Any suggestions will be appreciative.

@WenchaoD is that because of this? that seems like an inefficient way to get "infinite" scrolling

StevenMccracken avatar Jun 08 '20 07:06 StevenMccracken

When the pagerView is infinite, collecting all indexPaths will be time-consuming. Any suggestions will be appreciative.

@WenchaoD is that because of this? that seems like an inefficient way to get "infinite" scrolling

It won't be inefficient for scrolling at all(You need to know how UICollectionView works to understand this). But collecting all indexPath objects for removing would be.

WenchaoD avatar Jun 08 '20 07:06 WenchaoD