Android-Image-Slider
Android-Image-Slider copied to clipboard
How to stop slider when there is only 1 image at tr list?
See title
Use setInfiniteAdapterEnabled when you have only one image
I need to stop circular scroll i.e scroll should stop at the last position of list and should not scroll if list has only one item. Can you suggest anything??
sliderView.setInfiniteAdapterEnabled(false); tried this but this does not work.
Check out this. https://github.com/smarteist/Android-Image-Slider/issues/116
Check out this. #116
Ok thanks, will surely try it later.
to disable scrolling by user : setSliderAdapter(imgAdapter,false)