com.bumptech.glide.load.model.MultiModelLoaderFactory Java Examples
The following examples show how to use
com.bumptech.glide.load.model.MultiModelLoaderFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GlideModule.java From glide-support with The Unlicense | 4 votes |
@Override public @NonNull ModelLoader<String, InputStream> build( @NonNull MultiModelLoaderFactory multiFactory) { return new HeaderedLoader(multiFactory.build(GlideUrl.class, InputStream.class)); }
Example #2
Source File: OkHttpUrlLoader.java From FastAndroid with Apache License 2.0 | 4 votes |
@Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #3
Source File: StringLoader.java From SvgGlidePlugins with Apache License 2.0 | 4 votes |
@NonNull @Override public ModelLoader<String, String> build(@NonNull MultiModelLoaderFactory multiFactory) { return StringLoader.getInstance(); }
Example #4
Source File: OkHttpUrlLoader.java From Aurora with Apache License 2.0 | 4 votes |
@Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #5
Source File: AudioFileCoverLoader.java From VinylMusicPlayer with GNU General Public License v3.0 | 4 votes |
@Override @NonNull public ModelLoader<AudioFileCover, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new AudioFileCoverLoader(); }
Example #6
Source File: ArtistImageLoader.java From VinylMusicPlayer with GNU General Public License v3.0 | 4 votes |
@Override @NonNull public ModelLoader<ArtistImage, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new ArtistImageLoader(context, deezerClient, okHttp); }
Example #7
Source File: OkHttpUrlLoader.java From MVVMArms with Apache License 2.0 | 4 votes |
@Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #8
Source File: IconLoader.java From Aegis with GNU General Public License v3.0 | 4 votes |
@NonNull @Override public ModelLoader<VaultEntry, ByteBuffer> build(@NonNull MultiModelLoaderFactory unused) { return new IconLoader(); }
Example #9
Source File: OkHttpUrlLoader.java From pandroid with Apache License 2.0 | 4 votes |
@NonNull @Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #10
Source File: ArtistImageLoader.java From MusicPlayer with GNU General Public License v3.0 | 4 votes |
@NonNull @Override public ModelLoader<ArtistImage, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new ArtistImageLoader(lastFMClient,okHttpFactory.build(multiFactory)); }
Example #11
Source File: OkHttpUrlLoader.java From MVPArms with Apache License 2.0 | 4 votes |
@NonNull @Override public ModelLoader<GlideUrl, InputStream> build(@NotNull MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #12
Source File: ContactPhotoLoader.java From deltachat-android with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<ContactPhoto, InputStream> build(MultiModelLoaderFactory multiFactory) { return new ContactPhotoLoader(context); }
Example #13
Source File: DecryptableStreamUriLoader.java From deltachat-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<DecryptableUri, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new DecryptableStreamUriLoader(context); }
Example #14
Source File: GlideVFSLoader.java From Zom-Android-XMPP with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<FileInputStream, InputStream> build(MultiModelLoaderFactory multiFactory) { return new GlideVFSLoader(); }
Example #15
Source File: SingleSignOnUrlLoader.java From nextcloud-notes with GNU General Public License v3.0 | 4 votes |
@NonNull @Override public ModelLoader<GlideUrl, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return loader; }
Example #16
Source File: FirebaseImageLoader.java From FirebaseUI-Android with Apache License 2.0 | 4 votes |
@NonNull @Override public ModelLoader<StorageReference, InputStream> build(@NonNull MultiModelLoaderFactory factory) { return new FirebaseImageLoader(); }
Example #17
Source File: OkHttpUrlLoader.java From hipda with GNU General Public License v2.0 | 4 votes |
@NonNull @Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory factories) { return new OkHttpUrlLoader(client); }
Example #18
Source File: AvatarLoader.java From hipda with GNU General Public License v2.0 | 4 votes |
@NonNull @Override public ModelLoader<AvatarModel, InputStream> build(MultiModelLoaderFactory factories) { return new AvatarLoader(client); }
Example #19
Source File: ContactPhotoLoader.java From bcm-android with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<ContactPhoto, InputStream> build(MultiModelLoaderFactory multiFactory) { return new ContactPhotoLoader(context); }
Example #20
Source File: OkHttpUrlLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<GlideUrl, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #21
Source File: ContactPhotoLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<ContactPhoto, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new ContactPhotoLoader(context); }
Example #22
Source File: ChunkedImageUrlLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<ChunkedImageUrl, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new ChunkedImageUrlLoader(client); }
Example #23
Source File: DecryptableStreamUriLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<DecryptableUri, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new DecryptableStreamUriLoader(context); }
Example #24
Source File: AttachmentStreamUriLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<AttachmentModel, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new AttachmentStreamUriLoader(); }
Example #25
Source File: BlurHashModelLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<BlurHash, BlurHash> build(@NonNull MultiModelLoaderFactory multiFactory) { return new BlurHashModelLoader(); }
Example #26
Source File: AppIconGlideModule.java From SoloPi with Apache License 2.0 | 4 votes |
@NonNull @Override public ModelLoader<String, ByteBuffer> build(@NonNull MultiModelLoaderFactory multiFactory) { return new ApkIconModelLoader(context); }
Example #27
Source File: OkHttpUrlLoader.java From bcm-android with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<GlideUrl, InputStream> build(MultiModelLoaderFactory multiFactory) { return new OkHttpUrlLoader(client); }
Example #28
Source File: StickerRemoteUriLoader.java From mollyim-android with GNU General Public License v3.0 | 4 votes |
@Override public @NonNull ModelLoader<StickerRemoteUri, InputStream> build(@NonNull MultiModelLoaderFactory multiFactory) { return new StickerRemoteUriLoader(ApplicationDependencies.getSignalServiceMessageReceiver()); }
Example #29
Source File: DecryptableStreamUriLoader.java From bcm-android with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<DecryptableUri, InputStream> build(MultiModelLoaderFactory multiFactory) { return new DecryptableStreamUriLoader(context); }
Example #30
Source File: AttachmentStreamUriLoader.java From bcm-android with GNU General Public License v3.0 | 4 votes |
@Override public ModelLoader<AttachmentModel, InputStream> build(MultiModelLoaderFactory multiFactory) { return new AttachmentStreamUriLoader(); }