@@ -187,6 +187,10 @@ public void setTitle(@StringRes int titleRes) {
187187 setTitle (getResources ().getString (titleRes ));
188188 }
189189
190+ public String getTitle () {
191+ return mTitle ;
192+ }
193+
190194 public void setSummary (String summary ) {
191195 mSummary = summary ;
192196 mSummaryText .setText (summary );
@@ -197,17 +201,29 @@ public void setSummary(@StringRes int summaryRes) {
197201 setSummary (getResources ().getString (summaryRes ));
198202 }
199203
204+ public String getSummary () {
205+ return mSummary ;
206+ }
207+
200208 public void setIndex (int index ) {
201209 mIndex = index ;
202210 mPointNumber .setText (String .valueOf (index ));
203211 }
204212
213+ public int getIndex () {
214+ return mIndex ;
215+ }
216+
205217 public void setIsLastStep (boolean isLastStep ) {
206218 this .isLastStep = isLastStep ;
207219 mLineView .setVisibility (isLastStep ? View .INVISIBLE : View .VISIBLE );
208220 updateMarginBottom ();
209221 }
210222
223+ public boolean isLastStep () {
224+ return isLastStep ;
225+ }
226+
211227 public void setShouldAnimateWhenCustomViewShowHide (boolean shouldAnimate ) {
212228 if (shouldAnimate ) {
213229 mRightContainer .setLayoutTransition (new LayoutTransition ());
@@ -225,10 +241,18 @@ public void setDoneIconResource(@DrawableRes int drawableRes) {
225241 setDoneIcon (getResources ().getDrawable (drawableRes ));
226242 }
227243
244+ public Drawable getDoneIcon () {
245+ return mDoneIcon ;
246+ }
247+
228248 public void setAnimationDuration (int duration ) {
229249 mAnimationDuration = duration ;
230250 }
231251
252+ public int getAnimationDuration () {
253+ return mAnimationDuration ;
254+ }
255+
232256 public void bindSteppers (@ Nullable VerticalStepperItemView prevItem , @ Nullable VerticalStepperItemView nextItem ) {
233257 if (prevItem != null ) {
234258 mPrevItemView = prevItem ;
@@ -290,6 +314,10 @@ public void setNormalColorResource(@ColorRes int colorRes) {
290314 setNormalColor (getResources ().getColor (colorRes ));
291315 }
292316
317+ public @ ColorInt int getNormalColor () {
318+ return mNormalColor ;
319+ }
320+
293321 public void setActivatedColor (@ ColorInt int color ) {
294322 mActivatedColor = color ;
295323 if (mState != STATE_NORMAL ) {
@@ -301,6 +329,10 @@ public void setActivatedColorResource(@ColorRes int colorRes) {
301329 setActivatedColor (getResources ().getColor (colorRes ));
302330 }
303331
332+ public @ ColorInt int getActivatedColor () {
333+ return mActivatedColor ;
334+ }
335+
304336 @ IntDef ({STATE_NORMAL , STATE_SELECTED , STATE_DONE })
305337 @ Retention (RetentionPolicy .SOURCE )
306338 public @interface State {}
0 commit comments