public static void OnViewCreate <TViewModel>(this IMvxTouchView <TViewModel> touchView) where TViewModel : class, IMvxViewModel { var view = touchView as IMvxView <TViewModel>; view.OnViewCreate(() => { return(touchView.LoadViewModel()); }); }
public static void OnViewCreate(this IMvxTouchView touchView) { //var view = touchView as IMvxView<TViewModel>; touchView.OnViewCreate(() => { return(touchView.LoadViewModel()); }); }