Second step to learn xamarin :
There are multiple ways to open new activity .
Here , i will show you two ways to open activity in xamarin
Code :
1) StartActivity(typeof(SecondActivity));
2) var activity2 = new Intent (this, typeof(SecondActivity));
StartActivity (activity2);
"SecondActivity" : Name of Activity which you want to open
There are multiple ways to open new activity .
Here , i will show you two ways to open activity in xamarin
Code :
1) StartActivity(typeof(SecondActivity));
2) var activity2 = new Intent (this, typeof(SecondActivity));
StartActivity (activity2);
"SecondActivity" : Name of Activity which you want to open
Comments
Post a Comment