hide subsamplingscaleimageview if the image failed to load
This commit is contained in:
parent
f41d75aca1
commit
544f92104a
|
@ -105,6 +105,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
}
|
||||
|
||||
override fun onImageLoadError(p0: Exception?) {
|
||||
visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun onPreviewLoadError(p0: Exception?) {
|
||||
|
|
Loading…
Reference in New Issue