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 showMsgBox(Context context, int resId) { Toast.makeText(context, context.getString(resId), Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void internetErrorMessage(Context ctx) { Toast.makeText(ctx, "Error In Internet Connection", Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void shortToast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showLong(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void ShowToast(Context ctx, String text) { Toast.makeText(ctx, text, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void makeText(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void Toast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showToast(Context ctxt, String text) { Toast.makeText(ctxt, text, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showMessage(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT); }
From source file:Main.java
public static void showToast(Context c, String message) { Toast.makeText(c, message, Toast.LENGTH_SHORT).show(); }