本文整理汇总了Java中com.bumptech.glide.load.model.ModelCache类的典型用法代码示例。如果您正苦于以下问题:Java ModelCache类的具体用法?Java ModelCache怎么用?Java ModelCache使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelCache类属于com.bumptech.glide.load.model包,在下文中一共展示了ModelCache类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: HttpGlideUrlLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public HttpGlideUrlLoader(ModelCache<GlideUrl, GlideUrl> modelCache) {
this.modelCache = modelCache;
}
示例2: FlickrModelLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public FlickrModelLoader(ModelLoader<GlideUrl, InputStream> urlLoader,
ModelCache<Photo, GlideUrl> modelCache) {
super(urlLoader, modelCache);
}
示例3: BaseGlideUrlLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
protected BaseGlideUrlLoader(ModelLoader<GlideUrl, InputStream> concreteLoader,
@Nullable ModelCache<Model, GlideUrl> modelCache) {
this.concreteLoader = concreteLoader;
this.modelCache = modelCache;
}
示例4: TestLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public TestLoader(ModelLoader<GlideUrl, InputStream> concreteLoader,
ModelCache<Object, GlideUrl> modelCache) {
super(concreteLoader, modelCache);
}
示例5: FlickrModelLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
private FlickrModelLoader(
ModelLoader<GlideUrl, InputStream> urlLoader, ModelCache<Photo, GlideUrl> modelCache) {
super(urlLoader, modelCache);
}
示例6: HttpGlideUrlLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public HttpGlideUrlLoader(@Nullable ModelCache<GlideUrl, GlideUrl> modelCache) {
this.modelCache = modelCache;
}
示例7: TestLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
TestLoader(ModelLoader<GlideUrl, InputStream> concreteLoader,
ModelCache<Object, GlideUrl> modelCache) {
super(concreteLoader, modelCache);
}
示例8: PixelsModelLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public PixelsModelLoader(ModelLoader<GlideUrl, InputStream> concreteLoader, ModelCache<String, GlideUrl> modelCache) {
super(concreteLoader, modelCache);
}
示例9: ProgressModelLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public ProgressModelLoader(ModelCache<String, String> modelCache) {
this(modelCache, null);
}
示例10: FodexModelLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public FodexModelLoader(Context context, ModelCache<FodexLayoutSpecItem, GlideUrl> modelCache) {
super(context, modelCache);
}
示例11: BaseGlideUrlLoader
import com.bumptech.glide.load.model.ModelCache; //导入依赖的package包/类
public BaseGlideUrlLoader(Context context, ModelCache<GlideUrl> modelCache) {
this(Glide.buildModelLoader(GlideUrl.class, InputStream.class, context), modelCache);
}