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

Option to increment progress in steps #30

Open
mobilevoiceapps opened this issue Mar 12, 2019 · 1 comment
Open

Option to increment progress in steps #30

mobilevoiceapps opened this issue Mar 12, 2019 · 1 comment

Comments

@mobilevoiceapps
Copy link

Any chance of adding the progress in steps?

Let's say I want to increment the progress in multiple of 10 rather than 1, with a max value of 100. Is it possible? This feature can be helpful in displaying levels ex., 1 to 10 or Beginner to Expert kind of scenarios

@alikhangholi
Copy link

Hi,
I think you can set Minimum to 0 and set Maximum to 10 (using Croller.setMin & Croller.setMax methods), then in onProgressChanged you can multiply the progress to 10. In this way the progress will be increased 10 number in each step.

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

2 participants