Last active
May 23, 2018 15:05
-
-
Save atsushisakai-gh/6e87244f3a797f70ddcb98aa42051362 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
// onlyRetrieveFromCache | |
// trueを指定することで、URLにアクセスすることなくキャッシュからのみ画像を取得することが可能 | |
GlideApp.with(fragment) | |
.load(url) | |
.onlyRetrieveFromCache(true) | |
.into(imageView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment