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 showLong(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void showMsg(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void makeToast(String input, Context context) { Toast.makeText(context, input, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String msg) { Toast.makeText(context, msg + "", Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void myNotify(Context context, String info) { Toast.makeText(context, info, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String tip) { Toast.makeText(context, tip, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void addMsg(Activity activity, String mensagem) { Toast.makeText(activity, mensagem, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void displayError(Context context, String error) { Toast.makeText(context, error, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showShort(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void popupTips(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_LONG).show(); }