@Override
 public void applyOptions(Context context, GlideBuilder builder) {
   builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);
 }
 @Override
 public void applyOptions(Context context, GlideBuilder builder) {
   ViewTarget.setTagId(R.id.glide_tag_id);
   builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);
 }
Example #3
0
 @Override
 public void applyOptions(final Context context, GlideBuilder builder) {
   builder.setDiskCache(new ExternalCacheDiskCacheFactory(context, 1024 * 1024 * 500));
 }
 @Override
 public void applyOptions(Context context, GlideBuilder builder) {
   // Apply options to the builder here.
   builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);
 }