下面列出了com.bumptech.glide.load.model.ModelLoader#com.bumptech.glide.load.model.ModelCache 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
public HttpUrlGlideUrlLoader(ModelCache<GlideUrl, GlideUrl> modelCache) {
this.modelCache = modelCache;
}
public BaseGlideUrlLoader(Context context, ModelCache<T, GlideUrl> modelCache) {
this(Glide.buildModelLoader(GlideUrl.class, InputStream.class, context), modelCache);
}
public BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream> concreteLoader, ModelCache<T, GlideUrl> modelCache) {
this.concreteLoader = concreteLoader;
this.modelCache = modelCache;
}
public ProgressModelLoader(ModelCache<String, String> modelCache) {
this(modelCache, null);
}
public ProgressModelLoader(ModelCache<String, String> modelCache, Handler handler) {
this.modelCache = modelCache;
this.handler = handler;
}
public ProgressModelLoader(ModelCache<String, String> modelCache) {
this(modelCache, null);
}
public ProgressModelLoader(ModelCache<String, String> modelCache, Handler handler) {
this.modelCache = modelCache;
this.handler = handler;
}