com.bumptech.glide.integration.okhttp3
Class OkHttpGlideModule
java.lang.Object
com.bumptech.glide.integration.okhttp3.OkHttpGlideModule
- All Implemented Interfaces:
- com.bumptech.glide.module.GlideModule
public class OkHttpGlideModule
- extends Object
- implements com.bumptech.glide.module.GlideModule
A 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.
|
Method Summary |
void |
applyOptions(android.content.Context context,
com.bumptech.glide.GlideBuilder builder)
|
void |
registerComponents(android.content.Context context,
com.bumptech.glide.Glide glide)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OkHttpGlideModule
public OkHttpGlideModule()
applyOptions
public void applyOptions(android.content.Context context,
com.bumptech.glide.GlideBuilder builder)
- Specified by:
applyOptions in interface com.bumptech.glide.module.GlideModule
registerComponents
public void registerComponents(android.content.Context context,
com.bumptech.glide.Glide glide)
- Specified by:
registerComponents in interface com.bumptech.glide.module.GlideModule