I am using the Glide library for displaying the images in Recycler View, and when I delete all images, like the below:
new Thread(new Runnable()
{
@Override
public void run() { Glide.get(getApplicationContext()).clearDiskCache();}
}).start();
It's still reading the images from the cache, and when I go back to the top row in the recycler view, it does not delete all the images from the cache.
Also, can you please help me delete a single image from the cache?