public static SecondFragment NewInstance(String name)
        {
            SecondFragment fragment = new SecondFragment();

            fragment.Arguments = new Bundle();

            fragment.Arguments.PutString("NAME", name);

            return(fragment);
        }
        public override void OnViewCreated(View view,
                                           Bundle savedInstanceState)
        {
            EditText etInput = view.FindViewById <EditText>(Resource.Id.etName);

            Button btnAvanza = (Button)view.FindViewById(Resource.Id.btnAvanza);

            btnAvanza.Click += delegate {
                var fragment = SecondFragment.NewInstance(etInput.Text);

                //var manager = this.FragmentManager;

                var transaction = this.FragmentManager.BeginTransaction();

                transaction.Replace(Resource.Id.contenedor,
                                    fragment);

                transaction.AddToBackStack(null);

                transaction.Commit();
            };
        }