I am a newbie in android and I am trying to create a toast notification using this code
Toast.makeText(context, text, duration).Show(true); Pls what did I get wrong
Try this code Toast.makeText(context, text, duration).show();
Please note the caps in show method. And it doesn't require a true parameter.
What context do you use? Also do you get any error?
Toast.makeText(context, text, duration).show();
Is the general syntax, how do you use it?