Esempio n. 1
0
        public static CreateEventFragment NewInstance()
        {
            var calendarFragment = new CreateEventFragment {
                Arguments = new Bundle()
            };

            return(calendarFragment);
        }
Esempio n. 2
0
 private void Button_Click(object sender, EventArgs e)
 {
     Activity.SupportFragmentManager.BeginTransaction()
     .Replace(Resource.Id.content_frame, CreateEventFragment.NewInstance()).AddToBackStack("tag")
     .Commit();
 }