コード例 #1
0
 public AddItemsPopUp(AddPopUpViewModel viewModel, Label count)
 {
     InitializeComponent();
     //this.itemList = viewModel.ItemData;
     this.itemData            = viewModel.ItemData;
     addedItemsLv.ItemsSource = itemData;
     unique_id    = Preferences.Get("user", "");
     _restService = new RestService();
     this.count   = count;
 }
コード例 #2
0
 public Page2()
 {
     InitializeComponent();
     _restService = new RestService();
     eatsDate     = ChangeDateToString(currentDate);
     unique_id    = Preferences.Get("user", "");
     GetUserIdToken();
     // access Miami API and put in our DB - currently uncomment and run manually
     //MiamiFoodLookup();
     popUpView = new AddPopUpViewModel();
     //selectedItems = new AddPopUpViewModel();
     count = 0;
     GetActiveLocations();
 }