public virtual void BindTimeShiftingView(ITimeShiftingView view) { _timeShiftingView = view; _timeShiftingPresenter = Bootstrapper.GetContainer().Resolve<ITimeShiftingPresenter>(); _timeShiftingPresenter.BindView(view); _timeShiftingView.OnViewDestroy = (view2) => { _timeShiftingPresenter.ViewDestroyed(); _timeShiftingPresenter = null; _timeShiftingView = null; }; }
public virtual ITimeShiftingView CreateTimeShiftingView() { _timeShiftingView = Bootstrapper.GetContainer().Resolve<ITimeShiftingView>(); return _timeShiftingView; }