public static Intent CreateIntentFor<TTargetViewModel>(this IMvxAndroidView view, IDictionary<string, string> parameterValues = null) where TTargetViewModel : class, IMvxViewModel { var parameterBundle = new MvxBundle(parameterValues); var request = new MvxViewModelRequest<TTargetViewModel>(parameterBundle, null); return view.CreateIntentFor(request); }
public static Intent CreateIntentFor <TTargetViewModel>(this IMvxAndroidView view, object parameterObject) where TTargetViewModel : class, IMvxViewModel { return(view.CreateIntentFor <TTargetViewModel>(parameterObject.ToSimplePropertyDictionary())); }