hide subsamplingscaleimageview if the image failed to load

This commit is contained in:
tibbi 2017-01-07 19:48:37 +01:00
parent f41d75aca1
commit 544f92104a
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ class PhotoFragment : ViewPagerFragment() {
} }
override fun onImageLoadError(p0: Exception?) { override fun onImageLoadError(p0: Exception?) {
visibility = View.GONE
} }
override fun onPreviewLoadError(p0: Exception?) { override fun onPreviewLoadError(p0: Exception?) {