mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 15:59:29 +00:00
Fixed issue
This commit is contained in:
parent
486f2e1571
commit
fee72680ae
@ -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)){
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user