Android - Toast (popup)

> Android

1 - About

A toast provides simple feedback about an operation in a small popup.

3 - Example

Context context = getApplicationContext();
CharSequence text = "Hello toast!";
int duration = Toast.LENGTH_SHORT;
 
Toast toast = Toast.makeText(context, text, duration);
toast.show();

4 - Documentation / Reference

Advertising