/// <summary> /// Initializes a new instance of the <see cref="PreferencesPresenter"/> class. /// </summary> /// <param name="view">The view.</param> public PreferencesPresenter(IPreferencesView view) { _view = view; _view.PreferencesUpdated += OnViewPreferencesUpdated; }
public PreferencesPModel(IAppiumAppSettings settings, IPreferencesView view) { _Settings = settings; _View = view; }
public PreferencesPresenter(IPreferencesView view, IPreferencesLogic logic) { _logic = logic; }
public virtual void CreatePreferencesView() { if(_preferencesView == null) _preferencesView = Bootstrapper.GetContainer().Resolve<IPreferencesView>(); PushTabView(MobileNavigationTabType.More, _preferencesView); }
public virtual void BindPreferencesView(IPreferencesView view) { _preferencesView = view; _preferencesView.OnViewDestroy = (view2) => { _preferencesPresenter.ViewDestroyed(); _preferencesPresenter = null; _preferencesView = null; }; _preferencesPresenter = Bootstrapper.GetContainer().Resolve<IPreferencesPresenter>(); _preferencesPresenter.BindView(view); //#if ANDROID // // On Android, push subviews for preferences since there's generally more space on screen and swiping horizontally is more natural. // var general = CreateGeneralPreferencesView(); // var audio = CreateAudioPreferencesView(); // var library = CreateLibraryPreferencesView(); // _preferencesView.PushSubView(general); // _preferencesView.PushSubView(audio); // _preferencesView.PushSubView(library); //#endif }
public PreferencesCtlPresenter(IPreferencesView view) { _view = view; }
public PreferencesCtlPresenter(IPreferencesView view) { _view = view; }
public override void PushPreferencesSubview(IPreferencesView preferencesView, IBaseView view) { }
public PreferencesPresenter(IPreferencesView view, IPreferencesLogic logic) { this._logic = logic; }
public PreferencesPresenter(IPreferencesView view, IPreferencesLogic logic) { _view = view; _logic = logic; }
public override void PushPreferencesSubview(IPreferencesView preferencesView, IBaseView view) { Debug.WriteLine("WindowsPhoneNavigationManager - PushPreferencesSubview"); }
/// <summary> /// Initializes a new instance of the <see cref="PreferencesPresenter"/> class. /// </summary> /// <param name="view">The view.</param> public PreferencesPresenter(IPreferencesView view) { _view = view; _view.PreferencesUpdated += OnViewPreferencesUpdated; }