Android Toast Create showToastLong(Activity ctx, String text)

Here you can find the source of showToastLong(Activity ctx, String text)

Description

show Toast Long

Declaration

public static final void showToastLong(Activity ctx, String text) 

Method Source Code

//package com.java2s;
import android.app.Activity;

import android.widget.Toast;

public class Main {
    public static final void showToastLong(Activity ctx, String text) {
        Toast.makeText(ctx, text, Toast.LENGTH_LONG).show();
    }//  ww w .j a va  2  s  .co  m
}

Related

  1. showToask(Context context, String tip)
  2. showToast(Context context, String msg)
  3. toast(Context context, String text)
  4. toast(Context c, String msg)
  5. showToastShort(Activity ctx, String text)
  6. showMessage(Context ctx, String msg)
  7. showMessage(final Activity context, final String message)
  8. showFailure(Activity activity, int id)
  9. showElapsed(long start, long end, Context ctx)