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

Granularity makes my app crash because require index from zero #3753

Closed
Vaianaa opened this issue Nov 20, 2018 · 1 comment
Closed

Granularity makes my app crash because require index from zero #3753

Vaianaa opened this issue Nov 20, 2018 · 1 comment

Comments

@Vaianaa
Copy link

Vaianaa commented Nov 20, 2018

                // when you click button this counter increase
                //note: using this counter will make your app being crash on 5 step Granularity
                //my granularity is setGranularity(5);
                //this is my problem and i don't know why. so, i have to make the counter start from zero
                //like this                
                counter++
                int c = counter - 1;

Originally posted by @Vaianaa in #1742 (comment)

@liuxuan30
Copy link
Member

liuxuan30 commented Dec 4, 2018

please explain and don't create duplicated issues. and, don't hijack other threads.

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