Android Toast Duration Code Example
Example: android studio Toast usage
Context context = getApplicationContext(); CharSequence text = "Hello toast!"; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, text, duration); toast.show();
Comments
Post a Comment