public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {
    // TODO Auto-generated method stub
    LiLogger.logWarning(Tag, "Clicked");
    if (TabsFragmentActivity.clickEnabled) {
      VirtualGood item = vgList.get(position);
      if (item.VirtualGoodMainCurrency == 0) {
        item.buyVirtualGoods(getActivity(), TabsFragmentActivity.purchaseCallback);
      } else {

        item.buyVirtualGoods(
            1,
            LiCurrency.MainCurrency,
            new LiCallbackVirtualGoodRequest() {

              @Override
              public void onActionFinisedSuccessfully(LiIapAction liIapAction, VirtualGood item) {
                // TODO Auto-generated method stub
                TabsFragmentActivity.refreshUI();
              }

              @Override
              public void onActionFailed(
                  LiIapAction liIapAction, VirtualGood item, LiErrorHandler errors) {}
            });
      }
    }
  }
 @Override
 public void onResume() {
   super.onResume();
   LiLogger.logInfo("TABS Virtual", "on resume");
 }
 @Override
 public void onPause() {
   super.onPause();
   LiLogger.logInfo("TABS Virtual", "on pause");
 }