Przykład tostów Java
Toast.makeText(getApplicationContext(),"Hello Javatpoint",Toast.LENGTH_SHORT).show();
Nasty Nightingale
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();