Esempio n. 1
0
 public CampaignListPage(int index)
 {
     InitializeComponent();
     BindingContext = new campaignDatabaseTest();
     SaudiList      = campaignDatabaseTest.SaudicampaignList;
     EygptList      = campaignDatabaseTest.EygptcampaignList;
     if (index == 0)
     {
         CampaignListView.ItemsSource = SaudiList;
         selectedCounty.Text          = "Saudi Arabia";
     }
     else if (index == 1)
     {
         CampaignListView.ItemsSource = EygptList;
         selectedCounty.Text          = "Eygpt";
     }
 }
Esempio n. 2
0
 public CampaignListPage()
 {
     InitializeComponent();
     BindingContext         = new campaignDatabaseTest();
     SortPicker.ItemsSource = SortTypeList;
 }