Skip to content

Automatic slides not reaching the last image #3

Description

@RamiroGarrido

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions