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

spb_progressiveStart_activated attribute is read twice #81

Open
marwinxxii opened this issue Sep 17, 2015 · 1 comment
Open

spb_progressiveStart_activated attribute is read twice #81

marwinxxii opened this issue Sep 17, 2015 · 1 comment
Labels

Comments

@marwinxxii
Copy link

I was reading source code and found that spb_progressiveStart_activated is read twice in applyStyle:

if (a.hasValue(R.styleable.SmoothProgressBar_spb_progressiveStart_activated)) {
  setProgressiveStartActivated(a.getBoolean(R.styleable.SmoothProgressBar_spb_progressiveStart_activated, false));
}
if (a.hasValue(R.styleable.SmoothProgressBar_spb_progressiveStart_activated)) {
  setProgressiveStartActivated(a.getBoolean(R.styleable.SmoothProgressBar_spb_progressiveStart_activated, false));
}

See this line

May be it should be something else?

@castorflex
Copy link
Owner

Hey,
This is likely just a stupid copy paste mistake, I think I just have to remove that duplicate, but I will definitely look at this.

thanks for your report !

@castorflex castorflex added the bug label Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants