mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
hide subsamplingscaleimageview if the image failed to load
This commit is contained in:
@@ -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?) {
|
||||||
|
Reference in New Issue
Block a user