wirecube / android_additive_animations

Additive animations for Android!
Apache License 2.0
991 stars 72 forks source link

Using setStartDelay after creating a staggered animation removes stagger #15

Open davidganster opened 4 years ago

davidganster commented 4 years ago

The stagger parameter gets overwritten by the startDelay when used in this order:

AdditiveAnimator.anime(views, 50)
    .setStartDelay(300)
    .yBy(100)
    .start()

setStartDelay should just add to the initial stagger, not overwrite it.