ListView item scroll animation (“UIKit Dynamics” -like)

前端 未结 7 879
天命终不由人
天命终不由人 2020-12-22 17:26

I am attempting to animate the ListView items when a scroll takes place. More specifically, I am trying to emulate the scroll animations from the iMessage app o

相关标签:
7条回答
  • 2020-12-22 18:08

    It's honestly going to be a lot of work and quite mathematically intense, but I would have thought you could make the list item's layouts have padding top and bottom and that you could adjust that padding for each item so that the individual items become more or less spaced out. How you would track by how much and how you would know the speed at which the items are being scrolled, well that would be the hard part.

    0 讨论(0)
提交回复
热议问题