Skip to content

Replace ObjectAnimator with Transitions API #2

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kaeawc
Copy link

@kaeawc kaeawc commented Oct 7, 2018

Let me know if you like this or would prefer something different, happy to modify. And THANK YOU for the super nice project, it was a joy to experiment with.

It seems that setting the height on the view's LayoutParams was what was holding up the TransitionsManager from detecting the original state of the content view, but we also don't know the bounds on the first pass - adding a post(Runnable) allows us to get the proper original height right after the first layout pass.

@saket
Copy link
Owner

saket commented Oct 8, 2018

Hey this looks really nice, kaeawc. Just wanted to let you know that I'll review this in a couple days. I'm a bit occupied with a few things on this side.

@SebRut
Copy link

SebRut commented Oct 10, 2018

I tested the changes with my Java version of the project and didn't notice any problems. 👍

@saket
Copy link
Owner

saket commented Oct 17, 2018

@kaeawc the transition works perfectly but there's a short moment where the cursor jumps a bit :(

I tried fiddling around, but I'm short on ideas here. Do you think this can be solved?

cursor jump

@kaeawc
Copy link
Author

kaeawc commented Oct 23, 2018

I have some ideas for that, will experiment sometime this week

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

Successfully merging this pull request may close these issues.

3 participants