Android-Image-Slider icon indicating copy to clipboard operation
Android-Image-Slider copied to clipboard

How to stop slider when there is only 1 image at tr list?

Open Shachar87 opened this issue 4 years ago • 6 comments

See title

Shachar87 avatar Sep 24 '20 13:09 Shachar87

Use setInfiniteAdapterEnabled when you have only one image

AlmutawaEssam avatar Oct 12 '20 06:10 AlmutawaEssam

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??

nischayaxeedlabs avatar Dec 08 '20 11:12 nischayaxeedlabs

sliderView.setInfiniteAdapterEnabled(false); tried this but this does not work.

nischayaxeedlabs avatar Dec 08 '20 11:12 nischayaxeedlabs

Check out this. https://github.com/smarteist/Android-Image-Slider/issues/116

rahul4452 avatar Jan 14 '21 06:01 rahul4452

Check out this. #116

Ok thanks, will surely try it later.

nischayaxeedlabs avatar Jan 14 '21 06:01 nischayaxeedlabs

to disable scrolling by user : setSliderAdapter(imgAdapter,false)

kklolo avatar May 26 '21 13:05 kklolo