setDisplayMatrix() does not match previous state after zoom scale and translate
I zoom in and translate the photoView,then I saved current DisplayMatrix by Matrix m = photoView.getDisplayMatrix()
After system configuration changed, the PhotoView re-created, I wish to restore the scale and translate state.
I called photoView.setDisplayMatrix(m), but it does not match before.
Have you got the solution ?
I zoom in and translate the photoView,then I saved current DisplayMatrix by Matrix m = photoView.getDisplayMatrix()
After system configuration changed, the PhotoView re-created, I wish to restore the scale and translate state.
I called photoView.setDisplayMatrix(m), but it does not match before.
How did you zoomin and translate photoview ?