- 
                Notifications
    
You must be signed in to change notification settings  - Fork 914
 
fix: Edited changes are saved on orientation change. #2790
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
Conversation
| 
           @iamareebjamal @abishekvashok @mariobehling please review.  | 
    
| 
           @adityastic please review.  | 
    
| 
           Please provide a gif that is slower and a gif that does not use pictures of another app as example. Phimpme is a photo app mainly. Could you please use photos to avoid confusion of users by using screenshots of apps to showcase the app?  | 
    
| 
           @mariobehling sure. Just a minute.  | 
    
| 
           @mariobehling gif updated.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont. This is a memory leak
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont make anything static, save this also in the savedState
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same, static variable will not be garbage collected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even here xD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave this one. This one wasn't done by me. It's been there from the beginning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, No worries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot avoid this one. I need to use the variable in other classes to retain state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can retain the variable in this view class itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried that. The app crashed. When I reverted, it worked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
| 
           @adityastic done. I've only kept static in places where it was really needed. Rest have been removed.  | 
    
| 
           @abishekvashok @iamareebjamal @mariobehling please review and merge.  | 
    
| 
           @abishekvashok @iamareebjamal @mariobehling please merge.  | 
    
| 
           Thanks! Great job!  | 
    
fix: Edited changes are saved on orientation change.
Fixed #2702
Fixed #2789
Changes: All edits in an image are stored when orientation change happens.
GIF: