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 toast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showShort(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context ctx, String message) { Toast.makeText(ctx, message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void longToast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToastLong(Context ctx, String text) { Toast.makeText(ctx, text, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void SSMessage(Activity context, String text) { Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String text) { Toast.makeText(context, text, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toastIt(Context context, String string) { Toast.makeText(context, string, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String Mesg) { Toast.makeText(context, Mesg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }