Optik icon indicating copy to clipboard operation
Optik copied to clipboard

Pan to dissmiss

Open ekazaev opened this issue 8 years ago • 1 comments

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

ekazaev avatar May 31 '17 15:05 ekazaev

@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.

htinlinn avatar Jun 12 '17 21:06 htinlinn