xmuSistone / AndroidPileLayout

An abnormal horizontal ListView-like pile layout with stretch and contraction effects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

动画结束后,往右拖动会有一个放大的效果,如果这时松开,那这个View就会停在这个地方.第一个item比较容易触发

Modificator opened this issue · comments

commented

这个是因为每一帧计算的时候,误差是0.0-0.5,太多帧的话,就容易导致这个问题;后面我看下,能否找到更好的方法。

commented

提交了新代码,误差的计算趋于正常了;可再试下