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

Notify when animation completes #67

Closed
virenpurohit opened this issue Jan 13, 2016 · 1 comment
Closed

Notify when animation completes #67

virenpurohit opened this issue Jan 13, 2016 · 1 comment

Comments

@virenpurohit
Copy link

Hello,
Thanx for your fabulous library.

I am using it in one of my projects. Is there any way to get notified when header animation get completed.

I mean we pass minimum height to header and scrolling gets stopped on reaching that height so is there any kinda method is there through which we could get that animation completed because I want that.

@carlonzo
Copy link
Owner

Hi Thanks,
you can extend the onScroll method of the Animator and get the scrolled value calling getBoundedTranslatedRatio. when the ratio is 1.0f, the header is full scrolled.

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

2 participants