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

Flick does not seems to replace the View where it was after image was swipped out #11

Open
christophehenry opened this issue Jan 26, 2020 · 2 comments

Comments

@christophehenry
Copy link

This is annoying when you intend to reuse the same ImageView as it does not appear in view port anymore. The provided example works just because the activity is exited just after the image was swipped out. Hence, when opening a new image, the whole activity is recreated.

Here is an example :
Screenshot_20200126_164102

On the left, the image is opened for the first time. On the right, the image has then been swipped out then immediately reopened.

@saket
Copy link
Owner

saket commented May 24, 2020

Sorry I somehow missed this. Wanna send a PR to support this usecase?

I'd recommend creating a new ImageView for every image load in the meantime.

@christophehenry
Copy link
Author

Why not? I'll try to dig into it. I have a few more features in mind. Like being able to add share and save buttons.

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