@Override
  public void onActivityCreated(Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);

    if (getActivity() != null) {
      // gets an instance of the custom adapter for the Virtual Product.
      vgList = LiStore.getAllVirtualGoods(GetVirtualGoodKind.ALL);

      mProductAdapter = VirtualGoodAdapter.getInstance(getActivity(), vgList);

      if (mGridView != null) {
        mGridView.setAdapter(mProductAdapter);
      }
      mGridView.setOnItemClickListener(this);
    }
  }
 public static void OnInitCompleted() {
   mProductAdapter.notifyDataSetChanged();
 }