VolleyLibraryGlideModule
.@Deprecated public class VolleyGlideModule extends Object implements GlideModule
GlideModule
implementation to replace Glide's default
HttpURLConnection
based ModelLoader
with a
Volley 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 |
---|
VolleyGlideModule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyOptions(Context context,
GlideBuilder builder)
Deprecated.
Lazily apply options to a
GlideBuilder immediately before the Glide
singleton is created. |
void |
registerComponents(Context context,
Glide glide,
Registry registry)
Deprecated.
Lazily register components immediately after the Glide singleton is created but before any
requests can be started.
|
public void applyOptions(@NonNull Context context, @NonNull GlideBuilder builder)
GlideBuilder
immediately before the Glide
singleton is created.
This method will be called once and only once per implementation.
context
- An Application Context
.builder
- The GlideBuilder
that will be used to create Glide.