protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); _fragmentContainer = FindViewById <FrameLayout>(Resource.Id.FragmentContainer); _signInFragment = new SignInFragment(); SupportFragmentManager.BeginTransaction() .Add(Resource.Id.FragmentContainer, new SignInFragment()) .Commit(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); _fragmentContainer = FindViewById<FrameLayout>(Resource.Id.FragmentContainer); _signInFragment = new SignInFragment(); SupportFragmentManager.BeginTransaction() .Add(Resource.Id.FragmentContainer, new SignInFragment()) .Commit(); }