public virtual void Inject(
            ILinearEncounterNavigator linearEncounterNavigator,
            AndroidBackButton backButton)
        {
            LinearEncounterNavigator = linearEncounterNavigator;

            BackButton = backButton;
            BackButton.Register(OnBackButton);
        }
Beispiel #2
0
        public virtual void Inject(
            ISelector <UserSectionSelectedEventArgs> sectionSelector,
            ISelectedListener <UserSectionSelectedEventArgs> sectionSelectedListener,
            ISelector <UserTabSelectedEventArgs> tabSelector,
            ISelectedListener <UserTabSelectedEventArgs> tabSelectedListener,
            AndroidBackButton backButton)
        {
            SectionSelector         = sectionSelector;
            SectionSelectedListener = sectionSelectedListener;

            TabSelector = tabSelector;

            TabSelectedListener           = tabSelectedListener;
            TabSelectedListener.Selected += OnTabSelected;
            if (TabSelectedListener.CurrentValue != null)
            {
                OnTabSelected(this, TabSelectedListener.CurrentValue);
            }

            BackButton = backButton;
            BackButton.Register(OnBackButton);
        }