public class GlideAttatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private com.bumptech.glide.Glide |
glide |
private android.content.Context |
mContext |
Constructor and Description |
---|
GlideAttatcher(android.content.Context mContext) |
Modifier and Type | Method and Description |
---|---|
void |
attachedOnImaView(java.lang.Object drawable,
android.widget.ImageView imageView) |
void |
clearMemory() |
private com.bumptech.glide.Glide |
getGlide() |
private android.app.Activity |
getmActivityFromContext(android.content.Context context) |
private boolean |
isActivityDestroyed(android.app.Activity activity) |
private boolean |
isValidContextFromGlide(android.content.Context context) |
private com.bumptech.glide.Glide glide
private android.content.Context mContext
public void attachedOnImaView(java.lang.Object drawable, android.widget.ImageView imageView)
public void clearMemory()
private com.bumptech.glide.Glide getGlide()
private boolean isValidContextFromGlide(android.content.Context context)
private android.app.Activity getmActivityFromContext(android.content.Context context)
private boolean isActivityDestroyed(android.app.Activity activity)