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 showToast(Context context, int messageResId) { Toast.makeText(context, messageResId, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String text) { Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void toastShort(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showLongToast(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToastShort(Context context, int text) { Toast.makeText(context, context.getString(text), Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showShortMessage(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void ToastMessage(Context cont, String msg) { Toast.makeText(cont, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String contentText) { Toast.makeText(context, contentText, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void toastShow(Context paramContext, int paramInt) { Toast.makeText(paramContext, paramInt, 0).show(); }
From source file:Main.java
public static void ShowMakeToast(Context context, String toastMsg) { Toast.makeText(context, toastMsg, Toast.LENGTH_SHORT).show(); }