Automatic slides not reaching the last image
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.