public class OkHttpGlideModule extends Object implements com.bumptech.glide.module.GlideModule
GlideModule implementation to replace Glide's default
HttpURLConnection based ModelLoader
with an OkHttp based ModelLoader.
If you're using gradle, you can include this module simply by depending on the aar, the
module will be merged in by manifest merger. For other build systems or for more more
information, see GlideModule.
| Constructor and Description |
|---|
OkHttpGlideModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyOptions(Context context,
com.bumptech.glide.GlideBuilder builder) |
void |
registerComponents(Context context,
com.bumptech.glide.Glide glide) |
public void applyOptions(Context context, com.bumptech.glide.GlideBuilder builder)
applyOptions in interface com.bumptech.glide.module.GlideModulepublic void registerComponents(Context context, com.bumptech.glide.Glide glide)
registerComponents in interface com.bumptech.glide.module.GlideModule