Exemple #1
0
        //private InterstitialAd _myInterstitialAd;

        public KudosViewModel()
        {
            KudosCollection.Add(new Kudos {
                Title = "Video Ad", Price = "Free", ImageUrl = "/Images/VideoAd.png"
            });
            KudosCollection.Add(new Kudos {
                Title = "Store Rating", Price = "Free", ImageUrl = "/Images/4starStar.png"
            });
            KudosCollection.Add(new Kudos {
                Title = "Small Coffee", ProductId = "MvpCompanion_SmallCoffee", StoreId = "9NJ9NKHQF7C4", Price = "$1.49", ImageUrl = "/Images/CoffeeKudo.png"
            });
            KudosCollection.Add(new Kudos {
                Title = "Lunch", ProductId = "MvpCompanion_Lunch", StoreId = "9N999Z3H3GPK", Price = "$4.89", ImageUrl = "/Images/LunchKudo.png"
            });
            KudosCollection.Add(new Kudos {
                Title = "Dinner", ProductId = "MvpCompanion_Dinner", StoreId = "9NB8SR731DM6", Price = "$9.49", ImageUrl = "/Images/DinnerKudo.png"
            });

            //GetKudoCommand = new DelegateCommand<Kudos>((k) =>
            //{
            //    App.Current.MainWindow.Dispatcher.Invoke(async () =>
            //    {

            //    });
            //});
        }
 public KudosViewModel()
 {
     KudosCollection.Add(new Kudos {
         Title = "Video Ad", Price = "Free", ImageUrl = "/Images/VideoAd.png"
     });
     KudosCollection.Add(new Kudos {
         Title = "Store Rating", Price = "Free", ImageUrl = "/Images/4starStar.png"
     });
     KudosCollection.Add(new Kudos {
         Title = "Small Coffee", ProductId = "MvpCompanion_SmallCoffee", StoreId = "9NJ9NKHQF7C4", Price = "$1.49", ImageUrl = "/Images/CoffeeKudo.png"
     });
     KudosCollection.Add(new Kudos {
         Title = "Lunch", ProductId = "MvpCompanion_Lunch", StoreId = "9N999Z3H3GPK", Price = "$4.89", ImageUrl = "/Images/LunchKudo.png"
     });
     KudosCollection.Add(new Kudos {
         Title = "Dinner", ProductId = "MvpCompanion_Dinner", StoreId = "9NB8SR731DM6", Price = "$9.49", ImageUrl = "/Images/DinnerKudo.png"
     });
 }