Java Android Show Toast
Toast myToast = Toast.makeText(this, "I'm a toast!", Toast.LENGTH_LONG);
myToast.show();
Mattalui
Toast myToast = Toast.makeText(this, "I'm a toast!", Toast.LENGTH_LONG);
myToast.show();
Toast.makeText(getApplicationContext(),"Hello Javatpoint",Toast.LENGTH_SHORT).show();
Toast.makeText(context this, text "Example of Text", Toast.LENGTH_LONG).show();
Toast.makeText(this, "Mmm Toasty", Toast.LENGTH_LONG).show();
Toast.makeText(getActivity(), (String)data.result,
Toast.LENGTH_LONG).show();