catch exceptions thrown at clearing image load

This commit is contained in:
tibbi 2017-07-09 19:54:49 +02:00
parent a639163ea2
commit 278445821a

View file

@ -76,7 +76,10 @@ class FilepickerItemsAdapter(val context: Context, private val mItems: List<File
}
fun stopLoad() {
Glide.with(context).clear(view.list_item_icon)
try {
Glide.with(context).clear(view.list_item_icon)
} catch (ignored: Exception) {
}
}
}
}