Skip to content

Commit 4d392db

Browse files
Piotr ZawadzkiPiotr Zawadzki
authored andcommitted
- added missing JavaDoc
1 parent badcd78 commit 4d392db

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

material-stepper/src/main/java/com/stepstone/stepper/util/AnimationUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ private AnimationUtil() {
2929
* Animate the View's visibility using a fade animation.
3030
* @param view The View to be animated
3131
* @param visibility View visibility constant, can be either View.VISIBLE, View.INVISIBLE or View.GONE
32+
* @param animate true if the visibility should be changed with an animation, false if instantaneously
3233
*/
3334
public static void fadeViewVisibility(@NonNull final View view, @Visibility final int visibility, boolean animate) {
3435
ViewPropertyAnimator animator = view.animate();

material-stepper/src/main/java/com/stepstone/stepper/viewmodel/StepViewModel.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public Builder(@NonNull Context context) {
8282
/**
8383
* Set the title using the given resource id.
8484
*
85+
* @param titleId string resource ID for the title
8586
* @return This Builder object to allow for chaining of calls to set methods
8687
*/
8788
public Builder setTitle(@StringRes int titleId) {
@@ -92,6 +93,7 @@ public Builder setTitle(@StringRes int titleId) {
9293
/**
9394
* Set the title using the given characters.
9495
*
96+
* @param title CharSequence to be used as a title
9597
* @return This Builder object to allow for chaining of calls to set methods
9698
*/
9799
public Builder setTitle(@Nullable CharSequence title) {
@@ -102,6 +104,7 @@ public Builder setTitle(@Nullable CharSequence title) {
102104
/**
103105
* Set the label of the next button using the given resource id.
104106
*
107+
* @param nextButtonLabelId string resource ID for the Next button
105108
* @return This Builder object to allow for chaining of calls to set methods
106109
*/
107110
public Builder setNextButtonLabel(@StringRes int nextButtonLabelId) {
@@ -112,6 +115,7 @@ public Builder setNextButtonLabel(@StringRes int nextButtonLabelId) {
112115
/**
113116
* Set the label of the next button.
114117
*
118+
* @param nextButtonLabel CharSequence to be used as a Next button label
115119
* @return This Builder object to allow for chaining of calls to set methods
116120
*/
117121
public Builder setNextButtonLabel(@Nullable CharSequence nextButtonLabel) {
@@ -122,6 +126,7 @@ public Builder setNextButtonLabel(@Nullable CharSequence nextButtonLabel) {
122126
/**
123127
* Set the label of the back button using the given resource id.
124128
*
129+
* @param backButtonLabelId string resource ID for the Back button
125130
* @return This Builder object to allow for chaining of calls to set methods
126131
*/
127132
public Builder setBackButtonLabel(@StringRes int backButtonLabelId) {
@@ -132,6 +137,7 @@ public Builder setBackButtonLabel(@StringRes int backButtonLabelId) {
132137
/**
133138
* Set the label of the back button.
134139
*
140+
* @param backButtonLabel CharSequence to be used as a Back button label
135141
* @return This Builder object to allow for chaining of calls to set methods
136142
*/
137143
public Builder setBackButtonLabel(@Nullable CharSequence backButtonLabel) {
@@ -142,6 +148,7 @@ public Builder setBackButtonLabel(@Nullable CharSequence backButtonLabel) {
142148
/**
143149
* Creates a {@link StepViewModel} with the arguments supplied to this
144150
* builder.
151+
* @return created StepViewModel
145152
*/
146153
public StepViewModel create() {
147154
final StepViewModel viewModel = new StepViewModel();

0 commit comments

Comments
 (0)