当前位置: 首页>>代码示例>>Java>>正文


Java GenericLoaderFactory类代码示例

本文整理汇总了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;
    }
}
 
开发者ID:TWiStErRob,项目名称:TWiStErRob,代码行数:10,代码来源:ModelLoaderFactoryWrapper.java

示例2: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<GlideUrl, InputStream> build(Context context, GenericLoaderFactory factories) {
    return new OkHttpUrlLoader(client);
}
 
开发者ID:RockyQu,项目名称:MVVMFrames,代码行数:5,代码来源:OkHttpUrlLoader.java

示例3: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<GlideUrl, InputStream> build(Context context, GenericLoaderFactory factories) {
  return new OkHttpUrlLoader(client);
}
 
开发者ID:XecureIT,项目名称:PeSanKita-android,代码行数:5,代码来源:OkHttpUrlLoader.java

示例4: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<DecryptableUri> build(Context context, GenericLoaderFactory factories) {
  return new DecryptableStreamUriLoader(context);
}
 
开发者ID:XecureIT,项目名称:PeSanKita-android,代码行数:5,代码来源:DecryptableStreamUriLoader.java

示例5: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<AttachmentModel> build(Context context, GenericLoaderFactory factories) {
  return new AttachmentStreamUriLoader(context);
}
 
开发者ID:XecureIT,项目名称:PeSanKita-android,代码行数:5,代码来源:AttachmentStreamUriLoader.java

示例6: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public StreamModelLoader<ContactPhotoUri> build(Context context, GenericLoaderFactory factories) {
  return new ContactPhotoUriLoader(context);
}
 
开发者ID:XecureIT,项目名称:PeSanKita-android,代码行数:5,代码来源:ContactPhotoUriLoader.java

示例7: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<AudioFileCover, InputStream> build(Context context, GenericLoaderFactory factories) {
    return new AudioFileCoverLoader();
}
 
开发者ID:aliumujib,项目名称:Orin,代码行数:5,代码来源:AudioFileCoverLoader.java

示例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));
}
 
开发者ID:aliumujib,项目名称:Orin,代码行数:5,代码来源:ArtistImageLoader.java

示例9: build

import com.bumptech.glide.load.model.GenericLoaderFactory; //导入依赖的package包/类
@Override
public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) {
    return new ProgressModelLoader(mModelCache);
}
 
开发者ID:liying2008,项目名称:Simpler,代码行数:5,代码来源:ProgressModelLoader.java

示例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));
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:4,代码来源:PosterLoader.java

示例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);
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:5,代码来源:PosterLoader.java

示例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));
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:4,代码来源:ProfileLoader.java

示例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);
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:5,代码来源:ProfileLoader.java

示例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));
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:4,代码来源:BackdropLoader.java

示例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);
}
 
开发者ID:asadmshah,项目名称:moviegur,代码行数:5,代码来源:BackdropLoader.java


注:本文中的com.bumptech.glide.load.model.GenericLoaderFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。