The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
See original GitHub issuejava.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
This has become a really annoying problem in Fragments. It appears to be caused by shared element transitions on Lollipop, the OS’s scaling transition animation must change the scale type.
Issue Analytics
- State:
- Created 9 years ago
- Comments:7
Top Results From Across the Web
The ImageView's ScaleType has been changed ... - GitHub
java.lang.IllegalStateException : The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher This has become a really ...
Read more >android.widget.ImageView.getScaleType java code examples
How to use. getScaleType. method. in. android.widget.ImageView ... "The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher"); } } }.
Read more >Change the size of ImageView on zooming - Stack Overflow
It is because the ImageView has a view height of "wrap_content". Change it to "match_parent" and set the scaleType of the image to...
Read more >android.widget.ImageView#getScaleType - ProgramCreek.com
MATRIX) { throw new IllegalStateException( "The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher"); } } }. Example 5 ...
Read more >ImageView.ScaleType - Android Developers
ImageView.ScaleType ... Returns true if the specified object is equal to this enum constant. ... Connect with the Android Developers community on LinkedIn ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have found the same problem.Do you have solved it?
call the PhotoViewAttacher.cleanup before u calling onBackPressed or ondestory