-
Notifications
You must be signed in to change notification settings - Fork 78
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
Snap on release #14
Comments
Personally, I have not found such a feature in the lib. I also need it and I want to implement it this week. @onebone are there any specific guidelines for contributors? |
@RareScrap No I did not have wrote such guidelines, but it would be fine if the code is consistent with the original code base; such as indenting and continuation by tabs and something like that. |
For now I implemented basics of snapping feature. Snapping is configured by the I can easily animate the toolbar because I have access to its state object. But in the case when the toolbar moves outside the screen ( |
Okay, the snap is working as it should. However, there are a few things that bother me:
|
@RareScrap Thank you for sharing, I will review your PR within this week! |
Hi, I have already created PR for this: #83 By the way, if you want to use this feature, I created a separated remote dependency, while this PR is under review: Add it in your root build.gradle at the end of repositories: all projects {
repositories {
...
maven { url 'https://jitpack.io' }
}
} Step 2. Add the dependency dependencies {
implementation 'com.github.GIGAMOLE:ComposeCollapsingToolbar:latest-version'
} Or you can simply download it from there: https://github.com/GIGAMOLE/ComposeCollapsingToolbar/releases |
Is this implemented into the library? |
Hey @onebone, would it be possible to snap the header to its nearest edge when a scroll is released?
The text was updated successfully, but these errors were encountered: