Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android toast

Toast toast;

private void toast(String msg) {
  if (toast != null) toast.cancel();
  toast = Toast.makeText(getBaseContext(), msg, Toast.LENGTH_SHORT);
  toast.show();
}
Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #android #toast
ADD COMMENT
Topic
Name
4+2 =