Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic slides not reaching the last image #3

Open
RamiroGarrido opened this issue Jul 1, 2020 · 0 comments
Open

Automatic slides not reaching the last image #3

RamiroGarrido opened this issue Jul 1, 2020 · 0 comments

Comments

@RamiroGarrido
Copy link

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 = 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant