本文整理汇总了Java中com.bumptech.glide.load.model.GenericLoaderFactory.buildModelLoader方法的典型用法代码示例。如果您正苦于以下问题:Java GenericLoaderFactory.buildModelLoader方法的具体用法?Java GenericLoaderFactory.buildModelLoader怎么用?Java GenericLoaderFactory.buildModelLoader使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.bumptech.glide.load.model.GenericLoaderFactory
的用法示例。
在下文中一共展示了GenericLoaderFactory.buildModelLoader方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PosterLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
PosterLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例2: ProfileLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
ProfileLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例3: BackdropLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
BackdropLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例4: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<PosterPath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new PosterLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class));
}
示例5: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<ProfilePath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new ProfileLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class));
}
示例6: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<BackdropPath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new BackdropLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class));
}
示例7: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<AVFile, InputStream> build(Context context, GenericLoaderFactory factories) {
return new AVFileLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class));
}
示例8: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) {
return new StreamStringLoader(factories.buildModelLoader(Uri.class, InputStream.class, context));
}
示例9: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<File, InputStream> build(Context context, GenericLoaderFactory factories) {
return new StreamFileLoader(factories.buildModelLoader(Uri.class, InputStream.class, context));
}
示例10: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Integer, InputStream> build(Context context, GenericLoaderFactory factories) {
return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class, InputStream.class, context));
}
示例11: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<URL, InputStream> build(Context context, GenericLoaderFactory factories) {
return new StreamUrlLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class, context));
}
示例12: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Uri, InputStream> build(Context context, GenericLoaderFactory factories) {
return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class, context));
}
示例13: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<File, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) {
return new FileDescriptorFileLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.class,
context));
}
示例14: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<String, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) {
return new FileDescriptorStringLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.class,
context));
}
示例15: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入方法依赖的package包/类
@Override
public ModelLoader<Uri, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) {
return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, ParcelFileDescriptor.class,
context));
}