예제 #1
0
        protected sealed override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            CurrentActivity = this;

            if (!StartAuthActivity())
            {
                OnCreateActivity(savedInstanceState);
            }
        }
예제 #2
0
        protected override void OnCreateActivity(Bundle state)
        {
            base.OnCreateActivity(state);
            SetContentView(Resource.Layout.NewProjectActivity);

            var timeEntryList = BaseActivity.GetDataFromIntent <List <TimeEntryData> > (Intent, ExtraTimeEntryDataListId);

            SupportFragmentManager.BeginTransaction()
            .Add(Resource.Id.NewProjectActivityLayout, new NewProjectFragment(timeEntryList))
            .Commit();
        }