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

Pan to dissmiss #17

Open
ekazaev opened this issue May 31, 2017 · 1 comment
Open

Pan to dissmiss #17

ekazaev opened this issue May 31, 2017 · 1 comment

Comments

@ekazaev
Copy link

ekazaev commented May 31, 2017

Is there is any hidden reason why it is possible to pass a delegate only if i pass array of images not URLs?
I am interested in build in fictionality of "pan to dismiss", but it seems i can use it with Image URLs

@htinlinn
Copy link
Contributor

@ekazaev the tricky part is in the "presenting" part of the transition. Since Optik currently doesn't take in a placeholder image to be displayed while the actual image is being downloaded, the presenting animation wouldn't look right (the temp image that's used during the transition would disappear and you'll be left with a loading indicator while the downloading happens in the background).

Once we add this functionality in, it shouldn't be difficult to implement the rest of it including "pan to dismiss". I'll try to work on this in the next couple of weeks but if you wanna take a crack at it, feel free to submit a PR.

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