use of com.ljy.devring.image.support.ImageConfig in project DevRing by LJYcoder.
the class ConfigModule method imageConfig.
@Provides
@Singleton
ImageConfig imageConfig() {
ImageConfig imageConfig = new ImageConfig();
// 默认使用okhttp3替换网络组件
imageConfig.setIsUseOkhttp(true);
return imageConfig;
}
Aggregations