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

From source file:Main.java

public static void toastLong(Context cxt, int id) {
    Toast.makeText(cxt, id, Toast.LENGTH_LONG).show();
}

From source file:Main.java

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

From source file:Main.java

public static void toast(Activity activity, String MSG) {
    Toast.makeText(activity, MSG, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void toast(Activity activity, String msg) {
    Toast.makeText(activity, msg, Toast.LENGTH_LONG).show();
}

From source file:Main.java

public static void ShowToast(Context ctx, String text) {
    Toast.makeText(ctx, text, Toast.LENGTH_LONG).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 showToastLong(Context ctx, String text) {
    Toast.makeText(ctx, text, Toast.LENGTH_LONG).show();
}

From source file:Main.java

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

From source file:Main.java

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