SliderViewLibrary icon indicating copy to clipboard operation
SliderViewLibrary copied to clipboard

Automatic slides not reaching the last image

Open RamiroGarrido opened this issue 5 years ago • 0 comments

Hi!...Thanks for publicing your component my friend. I've just implemented it on my Android app, but I think there's a bug on the automatic slides...I've set 4 images like this:

var imagenes: ArrayList<Int> = ArrayList() imagenes.add(R.drawable.servicios1) imagenes.add(R.drawable.servicios2) imagenes.add(R.drawable.servicios3) imagenes.add(R.drawable.servicios4) binding.sliderView.setImages(imagenes) val task: TimerTask = binding.sliderView.getTimerTask() val timer = Timer() timer.schedule(task, 7000, 7000)

But the automatic slide is not reaching the last image (R.drawable.servicios4). I'm able to slide manually to it, and it's shown correctly on my fragment...the only problem is the automatic slide....Thanks for your contribution.

RamiroGarrido avatar Jul 01 '20 23:07 RamiroGarrido