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 show(Context context, String text) { Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void makeToast(Context con, String str) { Toast.makeText(con, str, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context c, String msg) { Toast.makeText(c, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void s(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toast(Context mContext, String text) { Toast.makeText(mContext, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void onFailedToConnect(Context context) { Toast.makeText(context, "Failed to connect to the server", Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void show(Context context, String string) { Toast.makeText(context, string, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
static void showToast(Context context, String text) { Toast.makeText(context, text, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void makeToast(Context context, String s) { Toast.makeText(context, s, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context c, int resId) { Toast.makeText(c, resId, Toast.LENGTH_SHORT).show(); }