SmoothProgressBar icon indicating copy to clipboard operation
SmoothProgressBar copied to clipboard

spb_progressiveStart_activated attribute is read twice

Open marwinxxii opened this issue 10 years ago • 1 comments

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?

marwinxxii avatar Sep 17 '15 14:09 marwinxxii

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 avatar Sep 17 '15 14:09 castorflex