@@ -82,6 +82,7 @@ public Builder(@NonNull Context context) {
82
82
/**
83
83
* Set the title using the given resource id.
84
84
*
85
+ * @param titleId string resource ID for the title
85
86
* @return This Builder object to allow for chaining of calls to set methods
86
87
*/
87
88
public Builder setTitle (@ StringRes int titleId ) {
@@ -92,6 +93,7 @@ public Builder setTitle(@StringRes int titleId) {
92
93
/**
93
94
* Set the title using the given characters.
94
95
*
96
+ * @param title CharSequence to be used as a title
95
97
* @return This Builder object to allow for chaining of calls to set methods
96
98
*/
97
99
public Builder setTitle (@ Nullable CharSequence title ) {
@@ -102,6 +104,7 @@ public Builder setTitle(@Nullable CharSequence title) {
102
104
/**
103
105
* Set the label of the next button using the given resource id.
104
106
*
107
+ * @param nextButtonLabelId string resource ID for the Next button
105
108
* @return This Builder object to allow for chaining of calls to set methods
106
109
*/
107
110
public Builder setNextButtonLabel (@ StringRes int nextButtonLabelId ) {
@@ -112,6 +115,7 @@ public Builder setNextButtonLabel(@StringRes int nextButtonLabelId) {
112
115
/**
113
116
* Set the label of the next button.
114
117
*
118
+ * @param nextButtonLabel CharSequence to be used as a Next button label
115
119
* @return This Builder object to allow for chaining of calls to set methods
116
120
*/
117
121
public Builder setNextButtonLabel (@ Nullable CharSequence nextButtonLabel ) {
@@ -122,6 +126,7 @@ public Builder setNextButtonLabel(@Nullable CharSequence nextButtonLabel) {
122
126
/**
123
127
* Set the label of the back button using the given resource id.
124
128
*
129
+ * @param backButtonLabelId string resource ID for the Back button
125
130
* @return This Builder object to allow for chaining of calls to set methods
126
131
*/
127
132
public Builder setBackButtonLabel (@ StringRes int backButtonLabelId ) {
@@ -132,6 +137,7 @@ public Builder setBackButtonLabel(@StringRes int backButtonLabelId) {
132
137
/**
133
138
* Set the label of the back button.
134
139
*
140
+ * @param backButtonLabel CharSequence to be used as a Back button label
135
141
* @return This Builder object to allow for chaining of calls to set methods
136
142
*/
137
143
public Builder setBackButtonLabel (@ Nullable CharSequence backButtonLabel ) {
@@ -142,6 +148,7 @@ public Builder setBackButtonLabel(@Nullable CharSequence backButtonLabel) {
142
148
/**
143
149
* Creates a {@link StepViewModel} with the arguments supplied to this
144
150
* builder.
151
+ * @return created StepViewModel
145
152
*/
146
153
public StepViewModel create () {
147
154
final StepViewModel viewModel = new StepViewModel ();
0 commit comments