do not use GlideDecoder at SubsamplingScaleImageView for now

This commit is contained in:
tibbi 2017-09-18 10:31:45 +02:00
parent 11be1b1e14
commit 6ed100e204

View file

@ -200,7 +200,7 @@ class PhotoFragment : ViewPagerFragment() {
private fun addZoomableView() {
if ((medium.isImage()) && isFragmentVisible && view.subsampling_view.visibility == View.GONE) {
view.subsampling_view.apply {
setBitmapDecoderClass(GlideDecoder::class.java)
//setBitmapDecoderClass(GlideDecoder::class.java) // causing random crashes on Android 7+
maxScale = 10f
beVisible()
setImage(ImageSource.uri(medium.path))