Preface
Because of the need, so exposure to this new Android development model, I will be all my learning experience recorded, I hope to be useful to everyone.
Guide
As for activity, people who have studied Android should also understand what activity is and recommend a novice to see the life cycle of the YZF article, which details the life cycle of the activity and some usage.
Body
Activity jumps and transmits values, mainly through the intent class to connect other activity for data transfer.
1. No data jump
New Intent (thistypeof(ADD)); StartActivity (intent);
The add is the activity that jumps.
2. With Data jump
Mainactivity.cs
New Intent (thistypeof(Uduser)); Intent. PutExtra ("ID", PID); StartActivity (intent);
where "id" is simply to define a name for this pass-through value, so that it is received and the PID is the value.
Receive pass-through values
Uduser.cs
var yourid = Intent.getstringextra ("ID");
Xamarin Android activity between jump and pass value