Пример #1
0
 public Builder setPositiveButton(
     @StringRes int textId, DialogInterface.OnClickListener listener) {
   builder.positiveText(textId);
   positiveDialogListener = listener;
   return this;
 }
Пример #2
0
 public Builder setPositiveButton(
     @NonNull CharSequence text, DialogInterface.OnClickListener listener) {
   builder.positiveText(text);
   positiveDialogListener = listener;
   return this;
 }