Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine animations with different durations #40

Open
abekert opened this issue Oct 11, 2017 · 2 comments
Open

Combine animations with different durations #40

abekert opened this issue Oct 11, 2017 · 2 comments

Comments

@abekert
Copy link

abekert commented Oct 11, 2017

Hello! I need to fade in a view while it is moving to its destination point.
So I setup it with zero alpha and start coordinates, then I need to move it to the destination in 1 second and change its alpha to 1 in 0.3 second.

Is there a possibility to do that?
a.makeOpacity(1).animate(0.3).moveX(destination).animate(1) doesn't work.

@jhurray
Copy link
Owner

jhurray commented Oct 11, 2017

Try 2 different animators and start them at the same time

@dourgulf
Copy link

dourgulf commented Jan 4, 2018

@jhurray not working
(modify from example)
self.animator.moveY(-200).animate(2);
self.animtor2.makeOpacity(0).animate(4);

nothing animation!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants