Support for visibility of previous cell
satishVekariya opened this issue · comments
Satish commented
Filipp Fediakov commented
Hi,
I think the way you could achieve that is altering the behaviour of function computeLayoutAttributesForItem
at CardsCollectionViewLayout.swift l:114
by using percentageDeltaOffset
to set center.x
you need.
Actually, you can create an hook (delegate or callback) for custom changes for the cell that would be called in computeLayoutAttributesForItem
and form it in separate Pull Request. So anyone can alter the behaviour without changing the source code.