public virtual void BindLibraryPreferencesView(ILibraryPreferencesView view) { _libraryPreferencesView = view; _libraryPreferencesPresenter = Bootstrapper.GetContainer().Resolve<ILibraryPreferencesPresenter>(); _libraryPreferencesPresenter.BindView(view); _libraryPreferencesView.OnViewDestroy = (view2) => { _libraryPreferencesPresenter.ViewDestroyed(); _libraryPreferencesPresenter = null; _libraryPreferencesView = null; }; }
public virtual void CreateLibraryPreferencesView() { if(_libraryPreferencesView == null) _libraryPreferencesView = Bootstrapper.GetContainer().Resolve<ILibraryPreferencesView>(); PushTabView(MobileNavigationTabType.More, _libraryPreferencesView); }