private void HandleItemSelected(object parameter)
 {
     ViewModelNavigation.PushAsync(new ItemPageViewModel()
     {
         Item = parameter as RssItem
     });
 }
Esempio n. 2
0
        public async Task Navigate(bool animated = true)
        {
            if (_navigationService == null)
            {
                throw new InvalidOperationException(
                          "Cannot navigate without attaching an ViewModelNavigation. Call AttachTo first.");
            }

            await _navigationService.PushAsync(new Action <TViewModel, Page>(ActivateAction), animated);
        }