Example usage for android.widget Toast LENGTH_LONG

List of usage examples for android.widget Toast LENGTH_LONG

Introduction

In this page you can find the example usage for android.widget Toast LENGTH_LONG.

Prototype

int LENGTH_LONG

To view the source code for android.widget Toast LENGTH_LONG.

Click Source Link

Document

Show the view or text notification for a long period of time.

Usage

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 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 s(Context context, String message) {
    Toast.makeText(context, message, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static final void toastLong(Context ctx, String msg) {
    Toast.makeText(ctx, msg, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void showToast(Context ctx, String message) {
    Toast.makeText(ctx, message, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void longToast(Context context, String msg) {
    Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void showLongToast(String message, Context c) {
    Toast.makeText(c, message, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void showToast(Context context, String text) {
    Toast.makeText(context, text, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void showToast(Context context, String Mesg) {
    Toast.makeText(context, Mesg, Toast.LENGTH_LONG).show();
}