Android Toast Create makeToast(Context appContext, String valueToShow)

Here you can find the source of makeToast(Context appContext, String valueToShow)

Description

make Toast

Declaration

public static void makeToast(Context appContext, String valueToShow) 

Method Source Code

//package com.java2s;

import android.content.Context;

import android.widget.Toast;

public class Main {
    public static void makeToast(Context appContext, String valueToShow) {
        Toast.makeText(appContext, valueToShow, Toast.LENGTH_LONG).show();
    }// w  w w.j a  v  a  2 s.  co  m
}

Related

  1. toast(final Context context, final CharSequence msg)
  2. msgLong(Context context, String msg)
  3. msgLong(final Context c, final String msg)
  4. msgLong(final Context context, final String msg)
  5. msgShort(Context context, String msg)
  6. makeToast(Context context, String message, boolean longTime)
  7. sendMsg(Context context, String msg)
  8. sendMsg(Context context, String msg)