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.

  • 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:
      buildLoadData in interface com.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:
      handles in interface com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,T>