I am trying to Open a new Activity from a fragment with the following code
- Button button = view.FindViewById<Button>(Resource.Id.button1);
- button.Click += StartNewActivity;
-
- void StartNewActivity(object sender, EventArgs e)
- {
- Intent intent = new Intent(this.Activity, typeof(fragment4));
- StartActivity(intent);
- }
But i get the following errors
Any Idea is Ultimately Welcomed!