本文整理汇总了Java中com.bumptech.glide.load.model.MultiModelLoaderFactory.build方法的典型用法代码示例。如果您正苦于以下问题:Java MultiModelLoaderFactory.build方法的具体用法?Java MultiModelLoaderFactory.build怎么用?Java MultiModelLoaderFactory.build使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.bumptech.glide.load.model.MultiModelLoaderFactory
的用法示例。
在下文中一共展示了MultiModelLoaderFactory.build方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Api.GifResult, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new GiphyModelLoader(multiFactory.build(GlideUrl.class, InputStream.class));
}
示例2: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Photo, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new FlickrModelLoader(multiFactory.build(GlideUrl.class, InputStream.class),
modelCache);
}
示例3: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Uri, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new HttpUriLoader(multiFactory.build(GlideUrl.class, InputStream.class));
}
示例4: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<URL, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new UrlLoader(multiFactory.build(GlideUrl.class, InputStream.class));
}
示例5: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<WaitModel<Model>, Data> build(
MultiModelLoaderFactory multiFactory) {
return new WaitModelLoader<>(multiFactory.build(modelClass, dataClass));
}
示例6: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Photo, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new FlickrModelLoader(
multiFactory.build(GlideUrl.class, InputStream.class), modelCache);
}
示例7: build
import com.bumptech.glide.load.model.MultiModelLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<String, InputStream> build(MultiModelLoaderFactory multiFactory) {
return new PixelsModelLoader(multiFactory.build(GlideUrl.class, InputStream.class), urlCache);
}