PhotoView icon indicating copy to clipboard operation
PhotoView copied to clipboard

setDisplayRect()

Open kennydude opened this issue 13 years ago • 4 comments

I would like to request the addition of a setDisplayRect( .. ) to be able to save and restore the state of PhotoView

kennydude avatar Jun 12 '13 13:06 kennydude

@kennydude Can you please verify, it fulfils your expectations?

smarek avatar Sep 13 '13 19:09 smarek

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

singhalavi avatar Feb 07 '14 17:02 singhalavi

I also tried using getDisplayMatrix to save the state and later restore it using setDisplayMatrix, but it doesn't seem to work.

bm-i avatar Apr 11 '14 08:04 bm-i

Doesn't work for me either: I restore the bitmap, update() the attacher and setDisplayMatrix. Effective matrix is unchanged

mazancourt avatar May 18 '14 18:05 mazancourt