I have a NetworkImageView
which has to show image once I click a button. When I click the button for the first time it doesn't display the image but if I click it second time then its showing the image.
I have set default image for it and it shows that image for first click of button but if I click it again then it shows the image form the url.
ImageLoader imageLoader = mInstance.getImageLoader();
imageLoader.get(url, ImageLoader.getImageListener(img, R.drawable.placeholder, android.R.drawable.ic_dialog_alert));
img.setImageUrl(url, mInstance.getImageLoader());