コード例 #1
0
        public async override void OnViewCreated(View view, Bundle savedInstanceState)
        {
            base.OnViewCreated(view, savedInstanceState);

            if (viewModel == null)
            {
                var timeEntryList = BaseActivity.GetDataFromIntent <List <TimeEntryData> >
                                        (Activity.Intent, NewProjectActivity.ExtraTimeEntryDataListId);
                viewModel = new NewProjectViewModel(timeEntryList);
            }

            viewModel.OnIsLoadingChanged += OnModelLoaded;
            await viewModel.Init();
        }