|
@@ -74,7 +74,7 @@ public class HorizontalStepsView extends View {
|
|
|
if (titles == null || progress > titles.length)
|
|
if (titles == null || progress > titles.length)
|
|
|
new Exception("titles can not be null or progress can not out of titles.length");
|
|
new Exception("titles can not be null or progress can not out of titles.length");
|
|
|
this.progress = progress;
|
|
this.progress = progress;
|
|
|
- if (titles.length>0){
|
|
|
|
|
|
|
+ if (titles.length > 0) {
|
|
|
this.titles = titles;
|
|
this.titles = titles;
|
|
|
}
|
|
}
|
|
|
invalidate();
|
|
invalidate();
|