コード例 #1
0
 public AppLanding()
 {
     InitializeComponent();
     try
     {
         ivm = new IntroPageViewModel();
         ivm.GetDeals();
         ivm.GetCategories();
         ivm.GetAll();
         ivm.GetAllSearchFromNewModel();
         ivm.GetAllThisWeek();
         Deals_Tapped(this, null);
         ShowSurVeyOne();
     }
     catch (Exception ex)
     {
         var log = ex;
     }
 }
コード例 #2
0
 public AppLanding()
 {
     InitializeComponent();
     try
     {
         ivm  = new IntroPageViewModel();
         mcvm = new MyCreatedCollectionViewModel();
         ivm.GetDeals();
         ivm.GetCategories();
         ivm.GetAll();
         ivm.GetAllSearchFromNewModel();
         ivm.GetAllThisWeek();
         ivm.Initializefavourites();
         mcvm.InitializeFavListNewUI();
         ThisWeek_Tapped(this, null);
         ShowSurVeyOne();
         this.BindingContext = this;
     }
     catch (Exception ex)
     {
         var log = ex;
     }
 }