void OnButtonClick(object sender, EventArgs e) { var editText = this.View.FindViewById<EditText>(Resource.Id.fragment_navigation_edittext); if (editText == null) { return; } var target = new NavigationTargetFragment(); if (target.Arguments == null) { target.Arguments = new Bundle(); } target.Arguments.PutString(ExtraMessage, editText.Text); MainActivity.Current.PushFragment(target); }
void OnButtonClick(object sender, EventArgs e) { var editText = this.View.FindViewById <EditText>(Resource.Id.fragment_navigation_edittext); if (editText == null) { return; } var target = new NavigationTargetFragment(); if (target.Arguments == null) { target.Arguments = new Bundle(); } target.Arguments.PutString(ExtraMessage, editText.Text); MainActivity.Current.PushFragment(target); }