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

added wantKeepAlive parameter to make it optional #479

Merged
merged 1 commit into from Feb 16, 2022

Conversation

Carlit0
Copy link
Contributor

@Carlit0 Carlit0 commented Oct 10, 2021

This introduces a wantKeepAlive parameter to make the feature (keep PhotoView state #452, which keeps an image scale state) optional.

Comparing it with the iOS Photo app, I suggest the default value to be false :)

closes #478

@Carlit0
Copy link
Contributor Author

Carlit0 commented Nov 17, 2021

It has been a while. Could someone please review this pull. Thanks :) @renancaraujo

@clragon
Copy link

clragon commented Dec 31, 2021

having wantKeepAlive set to true can also lead to your app crashing and dying because it runs out of memory.
Especially bad for people like me, who use pagination for inifinite pageviews.

@Brazol
Copy link

Brazol commented Jan 18, 2022

I'd also need this one. App can crash when scrolling through many large images when wantKeepAlive is true.

Copy link
Member

@luanpotter luanpotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@renancaraujo renancaraujo merged commit 23063d5 into bluefireteam:master Feb 16, 2022
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

Successfully merging this pull request may close these issues.

non optional wantKeepAlive feature [BUG]
5 participants