SmoothProgressBar
SmoothProgressBar copied to clipboard
spb_progressiveStart_activated attribute is read twice
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?
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 !