I have 5 cells in my collectionView but I only display 2.5 cells
For Example in my collectionView I have this : [][][
'[]' represents one cell in my collectionView. We can scroll horizontally to see the next cell.
What I want is to apply some effect like opacity to the last cell visible cut in half to have a smooth UI.
How can i do this ?
EDIT: A sample what i want
But when the cell cut in half is totally visible (not cut anymore) the transparent effect will disappear and the next cell cut in half will have the same effect
Thanks Best Regard,