List of usage examples for android.widget Toast makeText
public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) throws Resources.NotFoundException
From source file:Main.java
public static void showShortToast(String message, Context c) { Toast.makeText(c, message, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String message) { Toast.makeText(context.getApplicationContext(), message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToast(Context context, String content) { Toast.makeText(context, content, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Activity context, String message) { Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static final void showToastShort(Activity ctx, String text) { Toast.makeText(ctx, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void toastLong(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void createToast(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToast(Context context, String mString) { Toast.makeText(context, mString, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void mostrarToast(Context context, String mensaje) { Toast.makeText(context, mensaje, Toast.LENGTH_SHORT).show(); }