public static void OnViewCreate(this IMvxStoreView storeView, MvxViewModelRequest viewModelRequest, Func <IMvxBundle> bundleLoader) { storeView.OnViewCreate(() => { return(storeView.LoadViewModel(viewModelRequest, bundleLoader())); }); }
public static void OnViewCreate(this IMvxStoreView storeView, MvxViewModelRequest viewModelRequest, IMvxBundle bundle) { storeView.OnViewCreate(() => { return(storeView.LoadViewModel(viewModelRequest, bundle)); }); }