Beispiel #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            binding = SessionDetailActivityBinding.SetContentView(this, Resource.Layout.activity_session_detail);
            MainApplication.GetComponent(this).Inject(this);

            session = Parcels.Unwrap <Session>(Intent.GetParcelableExtra(typeof(Session).Name) as IParcelable);

            ReplaceFragment(SessionDetailFragment.Create(session));
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            binding = SessionDetailActivityBinding.SetContentView(this, Resource.Layout.activity_session_detail);
            MainApplication.GetComponent(this).Inject(this);

            session = Parcels.Unwrap<Session>(Intent.GetParcelableExtra(typeof(Session).Name) as IParcelable);

            ReplaceFragment(SessionDetailFragment.Create(session));
        }