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?
B4X:
Glide.Initializer.Default
Glide.Glide.ClearDiskCache
and got this error
B4X:
java.lang.IllegalArgumentException: You must call this method on a background thread
How to do this correctly?