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

}

From source file:Main.java

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

From source file:Main.java

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

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

From source file:Main.java

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

From source file:Main.java

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

From source file:Main.java

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

From source file:Main.java

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

From source file:Main.java

public static void popupTips(Context context, int resId) {
    Toast.makeText(context, resId, Toast.LENGTH_LONG).show();
}