-
Notifications
You must be signed in to change notification settings - Fork 350
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
There is a question about the position parameter in the delegate #3
Comments
Sorry, I just saw the README TODO content, expect to give a perfect solution |
Hey @broccolii, this is a good question! I'm also trying to find the best way to support such scenario. Two cases pop up in my mind:
In the first scenario, it's still reasonable to have animations such as CrossFade or ZoomInOut but not Cube for instance. However, the second scenario makes even CrossFade inappropriate. (Cards might still be alright though.) What type of scenario are you looking for? |
@KelvinJin |
@broccolii Yeah, for a complicated animation, the parameters will be hard to define. IMHO, the library should give you the ability to customise the animation by providing enough contexts. I'm planning to add more context information into the |
If I set the width and spacing of the CollectionItem, then how do I calculate the position parameter in the Delegate I need to modify the original code logic if there is a better way to deal with this ?
The text was updated successfully, but these errors were encountered: