setDisplayRect()
I would like to request the addition of a setDisplayRect( .. ) to be able to save and restore the state of PhotoView
@kennydude Can you please verify, it fulfils your expectations?
This is not working for me i am doing following
photoView.setImageDrawable(new BitmapDrawable(getResources(), bitmap)); boolean res = photoView.setDisplayMatrix(displayMatrix);
this displayMatrix was received on the same bitmap
I also tried using getDisplayMatrix to save the state and later restore it using setDisplayMatrix, but it doesn't seem to work.
Doesn't work for me either: I restore the bitmap, update() the attacher and setDisplayMatrix. Effective matrix is unchanged