示例#1
0
 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;
     };            
 }
示例#2
0
        public virtual void CreateLibraryPreferencesView()
        {
            if(_libraryPreferencesView == null)
                _libraryPreferencesView = Bootstrapper.GetContainer().Resolve<ILibraryPreferencesView>();

            PushTabView(MobileNavigationTabType.More, _libraryPreferencesView);
        }