Toast method is used to display messages in Android.
It can only display String Variables.
To display any Integer variable value convert the Integer into String.
Example
int x=10;
String a=""+ x;
Toast Method Syntax:
Toast.makeText("classname.this",a,2000).show();
It will display String 'a' for 2secs.
It can only display String Variables.
To display any Integer variable value convert the Integer into String.
Example
int x=10;
String a=""+ x;
Toast Method Syntax:
Toast.makeText("classname.this",a,2000).show();
It will display String 'a' for 2secs.
As stated by Stanford Medical, It is really the one and ONLY reason women in this country get to live 10 years longer and weigh 42 pounds lighter than we do.
ReplyDelete(And really, it has NOTHING to do with genetics or some secret diet and really, EVERYTHING about "HOW" they are eating.)
P.S, I said "HOW", and not "WHAT"...
Tap on this link to see if this short quiz can help you decipher your real weight loss possibilities