public class ToastUtils
extends java.lang.Object
Constructor and Description |
---|
ToastUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
show(Context context,
java.lang.CharSequence text) |
static void |
show(Context context,
java.lang.CharSequence text,
int duration) |
static void |
show(Context context,
int resId) |
static void |
show(Context context,
int resId,
int duration) |
static void |
show(Context context,
int resId,
int duration,
java.lang.Object... args) |
static void |
show(Context context,
int resId,
java.lang.Object... args) |
static void |
show(Context context,
java.lang.String format,
int duration,
java.lang.Object... args) |
static void |
show(Context context,
java.lang.String format,
java.lang.Object... args) |
public static void show(Context context, int resId)
public static void show(Context context, int resId, int duration)
public static void show(Context context, java.lang.CharSequence text)
public static void show(Context context, java.lang.CharSequence text, int duration)
public static void show(Context context, int resId, java.lang.Object... args)
public static void show(Context context, java.lang.String format, java.lang.Object... args)
public static void show(Context context, int resId, int duration, java.lang.Object... args)
public static void show(Context context, java.lang.String format, int duration, java.lang.Object... args)