diff --git a/app/src/main/java/org/communiquons/android/comunic/client/data/ImageLoad/ImageLoadManager.java b/app/src/main/java/org/communiquons/android/comunic/client/data/ImageLoad/ImageLoadManager.java index d6b1e4e..e1e0602 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/data/ImageLoad/ImageLoadManager.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/data/ImageLoad/ImageLoadManager.java @@ -47,7 +47,7 @@ public class ImageLoadManager { */ public static void load(Context context, String url, ImageView imageView){ - //Initializate class if required + //Initialize class if required if(!is_constructed()) construct(); @@ -69,6 +69,10 @@ public class ImageLoadManager { */ public static void remove(ImageView view){ + //Initialize class if required + if(!is_constructed()) + construct(); + //Check if the view has an associated thread if(threads.containsKey(view)){