Fixed issue

This commit is contained in:
Pierre 2017-12-25 15:26:37 +01:00
parent 486f2e1571
commit fee72680ae

View File

@ -47,7 +47,7 @@ public class ImageLoadManager {
*/ */
public static void load(Context context, String url, ImageView imageView){ public static void load(Context context, String url, ImageView imageView){
//Initializate class if required //Initialize class if required
if(!is_constructed()) if(!is_constructed())
construct(); construct();
@ -69,6 +69,10 @@ public class ImageLoadManager {
*/ */
public static void remove(ImageView view){ public static void remove(ImageView view){
//Initialize class if required
if(!is_constructed())
construct();
//Check if the view has an associated thread //Check if the view has an associated thread
if(threads.containsKey(view)){ if(threads.containsKey(view)){