Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static RequestOptions getDiskCacheRequestOptions(){
- RequestOptions requestOptions = new RequestOptions();
- requestOptions.diskCacheStrategy(DiskCacheStrategy.ALL); //related redline error
- return requestOptions;
- }
- Glide.with(this)
- .applyDefaultRequestOptions(Utils.getDiskCacheRequestOptions())
- .load(mImageUrl))
- .into(mImageView);
Add Comment
Please, Sign In to add comment