Class ChromiumUrlLoader<T>
java.lang.Object
com.bumptech.glide.integration.cronet.ChromiumUrlLoader<T>
- Type Parameters:
T- The type of data this loader will load.
- All Implemented Interfaces:
com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,T>
public final class ChromiumUrlLoader<T>
extends Object
implements com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,T>
A
ModelLoader for loading urls using cronet.
You can optionally pass an executor to the constructor for handling cronet callbacks in ChromiumRequestSerializer. If the executor is not provided, it will be created for you.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLoadsByteBuffers forGlideUrls using cronet.static final classLoadsInputStreams forGlideUrls using cronet.Nested classes/interfaces inherited from interface com.bumptech.glide.load.model.ModelLoader
com.bumptech.glide.load.model.ModelLoader.LoadData<Data extends Object> -
Method Summary
Modifier and TypeMethodDescriptioncom.bumptech.glide.load.model.ModelLoader.LoadData<T>buildLoadData(com.bumptech.glide.load.model.GlideUrl glideUrl, int width, int height, com.bumptech.glide.load.Options options) booleanhandles(com.bumptech.glide.load.model.GlideUrl glideUrl)
-
Method Details
-
buildLoadData
public com.bumptech.glide.load.model.ModelLoader.LoadData<T> buildLoadData(com.bumptech.glide.load.model.GlideUrl glideUrl, int width, int height, com.bumptech.glide.load.Options options) - Specified by:
buildLoadDatain interfacecom.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,T>
-
handles
public boolean handles(com.bumptech.glide.load.model.GlideUrl glideUrl) - Specified by:
handlesin interfacecom.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,T>
-