public void Update(OverviewItemList items) { if (items != null) { this.items = items; context.RunOnUiThread(() => NotifyDataSetChanged()); } callback.UserUpdateRequested(); }
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(); }