Search This Blog

Monday, 11 July 2016

Navigation,Send Data,Toast Example

-> Toast Message:-
Toast.MakeText(this,"Message",ToastLength.Short).Show();

-> Page Navigation:-
Intent<Obj Name>=new Intent(this,typeof(<Target Activity>));
StartActivity (objintent);

-> Pass The Data From One Page To Another Page:-
<Obj Name>.PutExtra ("<Key>",<Data>.ToString());
 StartActivity (objintent);

-> Recive Data From One Page to This Page:-
String <Obj Name> =Intent.GetStringExtra ("Key");

No comments:

Post a Comment