catch exceptions thrown at clearing image load
This commit is contained in:
parent
a639163ea2
commit
278445821a
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue