示例#1
0
        public static void OnViewCreate <TViewModel>(this IMvxTouchView <TViewModel> touchView)
            where TViewModel : class, IMvxViewModel
        {
            var view = touchView as IMvxView <TViewModel>;

            view.OnViewCreate(() => { return(touchView.LoadViewModel()); });
        }
示例#2
0
 public static void OnViewCreate(this IMvxTouchView touchView)
 {
     //var view = touchView as IMvxView<TViewModel>;
     touchView.OnViewCreate(() => { return(touchView.LoadViewModel()); });
 }