Пример #1
0
        public override async Task Activate()
        {
            if (_viewModel == null || !_viewModel.IsActive) {
                _viewModel = new HomeViewModel(_appHost);
            }

            await _presenter.ShowPage(_viewModel);
        }
Пример #2
0
 public override async Task Activate()
 {
     var viewModel = new HomeViewModel(_appHost);
     await _presenter.ShowPage(viewModel);
 }