We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
list.size is 15, one page have 3. so pages is 5 How to make the number of indicators the same as the number of pages,not same as the list.siz
val layoutManager = GridLayoutManager(this,3,GridLayoutManager.HORIZONTAL,false) recyclerview.layoutManager = layoutManager val snapHelper = PagerSnapHelper() snapHelper.attachToRecyclerView(recyclerview) circleIndicator.attachToRecyclerView(recyclerview,snapHelper)
The text was updated successfully, but these errors were encountered:
manual-control https://github.com/ongakuer/CircleIndicator#manual-control
Sorry, something went wrong.
No branches or pull requests
list.size is 15, one page have 3.
so pages is 5
How to make the number of indicators the same as the number of pages,not same as the list.siz
val layoutManager = GridLayoutManager(this,3,GridLayoutManager.HORIZONTAL,false)
recyclerview.layoutManager = layoutManager
val snapHelper = PagerSnapHelper()
snapHelper.attachToRecyclerView(recyclerview)
circleIndicator.attachToRecyclerView(recyclerview,snapHelper)
The text was updated successfully, but these errors were encountered: