Created
February 21, 2019 10:26
-
-
Save salmaanahmed/b71bcc815f0f4939394b63fd91e6c8cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This method must be called on the main thread. | |
Glide.get(context).clearMemory() | |
Thread(Runnable { | |
// This method must be called on a background thread. | |
Glide.get(context).clearDiskCache() | |
}).start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment