Skip to content

Reverse order #63

Discussion options

You must be logged in to vote

No. But you can use the previous() method to manually create auto-reverse sliding for infinite carousel. Example:

CoroutineScope(Dispatchers.Main).launch {
    while (isActive) {
        delay(1000)
        binding.carousel.previous()
    }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ImaginativeShohag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants