I am trying to clear the entire cache of images loaded with Amir_Glide library by @alimanam3386. I tried to do the following in the Activity where the images are displayed.
and got this error
How to do this correctly?
java.lang.IllegalArgumentException: You must call this method on a background thread