protected override void IglooPrepare(IBaseViewModelParameters parameter) { FirstViewModelParameters firstViewModelParameters = (FirstViewModelParameters)parameter; Generosity = firstViewModelParameters.Generosity; SubTotal = firstViewModelParameters.Subtotal; }
public Task NavToSecond() { FirstViewModelParameters firstViewModelParameters = new FirstViewModelParameters() { Subtotal = 1, Generosity = 2 }; return(Task.FromResult <bool>( _mvxNavigationService.Navigate <SecondViewModel>().GetAwaiter().GetResult() )); }
public Task NavToFirst() { FirstViewModelParameters firstViewModelParameters = new FirstViewModelParameters() { Subtotal = 20, Generosity = 40 }; return(Task.FromResult <bool>( _mvxNavigationService.Navigate <FirstViewModel, FirstViewModelParameters>(firstViewModelParameters).GetAwaiter().GetResult() )); }