本文整理汇总了Java中com.bumptech.glide.load.model.GenericLoaderFactory类的典型用法代码示例。如果您正苦于以下问题:Java GenericLoaderFactory类的具体用法?Java GenericLoaderFactory怎么用?Java GenericLoaderFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GenericLoaderFactory类属于com.bumptech.glide.load.model包,在下文中一共展示了GenericLoaderFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<T, Y> build(Context context, GenericLoaderFactory factories) {
try {
return new ModelLoaderWrapper<>(wrapped.build(context, factories), handler);
} catch (RuntimeException | Error e) {
handler.handle(e);
throw e;
}
}
示例2: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<GlideUrl, InputStream> build(Context context, GenericLoaderFactory factories) {
return new OkHttpUrlLoader(client);
}
示例3: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<GlideUrl, InputStream> build(Context context, GenericLoaderFactory factories) {
return new OkHttpUrlLoader(client);
}
示例4: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<DecryptableUri> build(Context context, GenericLoaderFactory factories) {
return new DecryptableStreamUriLoader(context);
}
示例5: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<AttachmentModel> build(Context context, GenericLoaderFactory factories) {
return new AttachmentStreamUriLoader(context);
}
示例6: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<ContactPhotoUri> build(Context context, GenericLoaderFactory factories) {
return new ContactPhotoUriLoader(context);
}
示例7: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<AudioFileCover, InputStream> build(Context context, GenericLoaderFactory factories) {
return new AudioFileCoverLoader();
}
示例8: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<ArtistImage, InputStream> build(Context context, GenericLoaderFactory factories) {
return new ArtistImageLoader(context, lastFMClient, okHttpFactory.build(context, factories));
}
示例9: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) {
return new ProgressModelLoader(mModelCache);
}
示例10: PosterLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
PosterLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例11: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<PosterPath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new PosterLoader(context, factories);
}
示例12: ProfileLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
ProfileLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例13: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<ProfilePath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new ProfileLoader(context, factories);
}
示例14: BackdropLoader
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
BackdropLoader(Context context, GenericLoaderFactory factory) {
resourceLoader = new StreamResourceLoader(context, factory.buildModelLoader(Uri.class, InputStream.class));
}
示例15: build
import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<BackdropPath, InputStream> build(Context context, GenericLoaderFactory factories) {
return new BackdropLoader(context, factories);
}