Пример #1
0
        protected override void OnViewModelSet()
        {
            base.OnViewModelSet();

            SetContentView(Resource.Layout.DetailsView);

            SetFragment();

            SupportActionBar.SetDisplayShowCustomEnabled(true);

            SupportActionBar.SetCustomView(Resource.Layout.Toolbar);

            FindById();

            BindEvents();

            ApplyBindings();

            SetViewPager();

            VacationTypeSetting.SetButtonsColor(this, int.Parse(_positionView.Text));
        }
Пример #2
0
        private void OnItemClick(int position)
        {
            VacationTypeSetting.SetButtonsColor(this, position);

            _positionView.Text = position.ToString();
        }