I am adding images in Carousel Control dynamically so sometimes there is 1 image, 2 images, etc. Now the issue is even it has one image, I am getting next button and it keeps on showing the same image. Same with 2 images, when the last image is reached, when clicking on Next it shows the first image again.
Can we stop it when it reaches last image?
I am adding images in Carousel Control dynamically so sometimes there is 1 image, 2 images, etc. Now the issue is even it has one image, I am getting next button and it keeps on showing the same image. Same with 2 images, when the last image is reached, when clicking on Next it shows the first image again.
Can we stop it when it reaches last image?