private void InitView()
 {
     Log.Info(TAG, "InitView");
     FindViewById(Resource.Id.progressBar1).Visibility = ViewStates.Visible;
     FindViewById(Resource.Id.content).Visibility      = ViewStates.Gone;
     countTextView                         = (TextView)FindViewById(Resource.Id.gems_count);
     countTextView.Text                    = (DeliveryUtils.getCountOfGems(this)).ToString();
     consumableProductsListview            = (ListView)FindViewById(Resource.Id.consumable_product_list1);
     consumableProductsListview.ItemClick += delegate(object sender, AdapterView.ItemClickEventArgs e)
     {
         Buy(e.Position);
     };
     purchaseHisBtn        = (Button)FindViewById(Resource.Id.enter_purchase_his);
     purchaseHisBtn.Click += delegate
     {
         Intent intent = new Intent(this, typeof(PurchaseHistoryActivity));
         StartActivity(intent);
     };
     QueryProducts();
 }
        private void UpdateNumberOfGems()
        {
            String countOfGems = (DeliveryUtils.getCountOfGems(this)).ToString();

            countTextView.Text = countOfGems;
        }