-
Notifications
You must be signed in to change notification settings - Fork 55
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
Imageview state control using ViewState class #45
Conversation
mBitmapChanged = true; | ||
mRestoreRequest = true; | ||
mAspectRatioWidth = savedAspectRatioWidth; | ||
mAspectRatioHeight = savedAspectRatioHeight; |
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.
@rnitame
I think savedAspectRatioWidth
, savedAspectRatioHeight
and suppMatrixValues
fields don't need anymore. isn't it?
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.
savedAspectRatioWidth
and savedAspectRatioHeight
fields are unnecessary 🙆 I will delete.
But I could not restore without suppMatrixValues
field.
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 deleted aspectRatioWidth
and aspectRatioHeight
in ViewState. isn't that right?
I mentioned about savedAspectRatioWidth
and savedAspectRatioHeight
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 deleted aspectRatioWidth and aspectRatioHeight in ViewState. isn't that right?
Right.
I mentioned about savedAspectRatioWidth and savedAspectRatioHeight
It means this 2 lines?
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.
Thank you so much. Do you need to deploy to maven? |
Yes! please 🙏 I will use my product :) |
@rnitame Can you test in SNAPSHOT? snapshot version from maven
|
@helloyako Thanks! I confirmed that it was working properly in my product. |
It's released. Thank you! |
fix #41
In this PR, it is possible to restore the state of View using ViewState class.