Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mingfenghappy
, 1 year ago
The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
via GitHub by hendrawd
, 1 year ago
The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
via Stack Overflow by datienza
, 2 years ago
The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
via GitHub by eugenkiss
, 2 years ago
The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
via GitHub by PawelPleskaczynski
, 1 week ago
The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher. You should call setScaleType on the PhotoViewAttacher instead of on the ImageView
java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher at uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType(PhotoViewAttacher.java:684) at uk.co.senab.photoview.PhotoViewAttacher.setImageViewMatrix(PhotoViewAttacher.java:815) at uk.co.senab.photoview.PhotoViewAttacher.resetMatrix(PhotoViewAttacher.java:807) at uk.co.senab.photoview.PhotoViewAttacher.updateBaseMatrix(PhotoViewAttacher.java:892) at uk.co.senab.photoview.PhotoViewAttacher.onGlobalLayout(PhotoViewAttacher.java:423) at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:982) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2410) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7397) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920) at android.view.Choreographer.doCallbacks(Choreographer.java:695) at android.view.Choreographer.doFrame(Choreographer.java:631) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7237) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)