Changing Image on Image View on click

459 Views Asked by At

change image on image view when click on next and prev button and image is coming from url.

i have try to change image from below method but this is not changing image.

  imageLoader.displayImage(img[0], imgProperty);

imgProperty is a imageview and img[0] having a url and displayImage is the method of Lazy loading Imagloader class.

Please help me how can change Image view image on click.

enter image description here

1

There are 1 best solutions below

1
Blaze Tama On BEST ANSWER

First, make sure img[0] refer to the image's URL.

And use imageLoader.displayImage method instead of imageLoader.DisplayImage (capital D)