makeText(this) code example
Example: toast code in android studio
Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;);
toast.show();
Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;);
toast.show();