Exemplo n.º 1
0
        private void ShowEnlistedTab()
        {
            TabCustomButtonManager.DeselectTab(EnlistingTab);
            TabCustomButtonManager.SelectTab(EnlistedTab);
            TabCustomButtonManager.DeselectTab(LocationsTab);
            EnlistingTab.Icon = "target_icon_gray";
            EnlistedTab.Icon  = "army5_green";
            LocationsTab.Icon = "location_gray";

            EnlistingListView.IsVisible = false;
            EnlistedListView.IsVisible  = true;
        }
Exemplo n.º 2
0
        private void ShowRecruitingTab()
        {
            TabCustomButtonManager.SelectTab(RecruitingTab);
            TabCustomButtonManager.DeselectTab(RecruitedTab);
            TabCustomButtonManager.DeselectTab(LocationsTab);
            RecruitingTab.Icon = "target_icon_green";
            RecruitedTab.Icon  = "hand_shake_gray";
            LocationsTab.Icon  = "location_gray";

            RecruitingListView.IsVisible = true;
            RecruitedListView.IsVisible  = false;
        }
Exemplo n.º 3
0
        private void ShowRecruitedTab()
        {
            var viewmodel = (RecruitViewModel)this.BindingContext;

            TabCustomButtonManager.DeselectTab(RecruitingTab);
            TabCustomButtonManager.SelectTab(RecruitedTab);
            TabCustomButtonManager.DeselectTab(LocationsTab);
            RecruitingTab.Icon = "target_icon_gray";
            RecruitedTab.Icon  = "hand_shake_green";
            LocationsTab.Icon  = "location_gray";

            RecruitingListView.IsVisible = false;
            RecruitedListView.IsVisible  = true;
            Global.SetRecAddNum(1);
            if (Global.GetRecNum() == 1)
            {
                viewmodel.RecruitedData();
            }
        }