Esempio n. 1
0
 /**
  * Creates and returns a snackbar to display the given text.
  *
  * @param text The text to show on the snackbar.
  * @param controller The SnackbarController to receive callbacks about the snackbar's state.
  */
 public static Snackbar make(CharSequence text, SnackbarController controller) {
   Snackbar s = new Snackbar();
   s.mText = text;
   s.mController = controller;
   return s;
 }