Exemplo n.º 1
0
 public void Update(OverviewItemList items)
 {
     if (items != null)
     {
         this.items = items;
         context.RunOnUiThread(() => NotifyDataSetChanged());
     }
     callback.UserUpdateRequested();
 }
Exemplo n.º 2
0
 public void OnRewardBought(Reward reward)
 {
     callback.ShowPointsUpdate(reward.Cost * -1);
     callback.UserUpdateRequested();
     Toast.MakeText(this.Activity, $"{reward.Description} purchased for {reward.Cost}!", ToastLength.Short).Show();
 }