private void handleClick(View v) {

    String topFragmentName = PlayupLiveApplication.getFragmentManagerUtil().getTopFragmentName();
    if (v != null && v.getTag(R.id.about_txtview) != null) {
      if (v.getTag(R.id.about_txtview).toString().equalsIgnoreCase("-1")) {

        if (isUserAnonymous) {
          // show provider
          Bundle bundle = new Bundle();
          bundle.putString("fromFragment", topFragmentName);
          PlayupLiveApplication.getFragmentManagerUtil().setFragment("ProviderFragment", bundle);
        } else {
          // re direct it to create room page
          Bundle bundle = new Bundle();
          bundle.putString("vMainColor", vMainColor);
          bundle.putString("vMainTitleColor", vMainTitleColor);
          bundle.putString("vMainColor", vMainColor);
          bundle.putString("vMainTitleColor", vMainTitleColor);
          bundle.putString("fromFragment", topFragmentName);
          bundle.putString("vSecColor", vSecColor);
          bundle.putString("vSecTitleColor", vSecTitleColor);

          PlayupLiveApplication.getFragmentManagerUtil()
              .setFragment("CreateLobbyRoomFragment", bundle, -1, false);
        }
      } else {

        // redirect it to private conversation fragment
        String vConversationId = v.getTag(R.id.about_txtview).toString();
        Bundle bundle = new Bundle();
        bundle.putString("vConversationId", vConversationId);
        bundle.putString("vContestId", vContestId);
        bundle.putString("fromFragment", topFragmentName);
        bundle.putString("vMainColor", vMainColor);
        bundle.putString("vMainTitleColor", vMainTitleColor);

        bundle.putString("vSecColor", vSecColor);
        bundle.putString("vSecTitleColor", vSecTitleColor);
        PlayupLiveApplication.getFragmentManagerUtil()
            .setFragment("PrivateLobbyRoomFragment", bundle, R.id.main);
      }
    }
  }
  @Override
  public void onClick(View view) {
    try {
      int position = -1;
      int isFavourite = -1;
      String vCompetitionId = null;

      if (view.getTag(R.id.favouriteStar) != null) {
        position = Integer.parseInt(view.getTag(R.id.favouriteStar).toString());
      }

      if (position != -1) {
        vCompetitionId = favouriteData.get("vCompetitionId").get(position);
        if (favouriteData.get("isFavourite").get(position) != null)
          isFavourite = Integer.parseInt(favouriteData.get("isFavourite").get(position));
        else isFavourite = 0;
      } else {
        return;
      }

      String topFragmentName = PlayupLiveApplication.getFragmentManagerUtil().getTopFragmentName();
      switch (view.getId()) {
        case R.id.favouriteView1:
        case R.id.favouriteView2:
          try {
            ImageView imageView = (ImageView) view.findViewById(R.id.favouriteStar);
            if (isFavourite == 1) {

              imageView.setImageResource(R.drawable.allsports_grey_star);
              imageView.setAlpha(255);
              favouriteData.get("isFavourite").set(position, "0");

              final String vCompetitionId_temp = vCompetitionId;
              new Thread(
                      new Runnable() {

                        @Override
                        public void run() {
                          try {
                            dbUtil.deSelectMySports(vCompetitionId_temp);
                            dbUtil.setCompetitionFavourite(vCompetitionId_temp, 0);
                          } catch (Exception e) {
                            // Logs.show(e);
                          }
                        }
                      })
                  .start();

            } else {
              imageView.setImageResource(R.drawable.allsports_green_star);
              imageView.setAlpha(200);

              favouriteData.get("isFavourite").set(position, "1");

              final String vCompetitionId_temp = vCompetitionId;
              new Thread(
                      new Runnable() {

                        @Override
                        public void run() {
                          try {
                            dbUtil.setSelectedMySports(vCompetitionId_temp);
                            dbUtil.setCompetitionFavourite(vCompetitionId_temp, 1);
                          } catch (Exception e) {
                            // Logs.show(e);
                          }
                        }
                      })
                  .start();
            }
            Message m = new Message();
            m.obj = "RefreshRedTicket";
            PlayupLiveApplication.callUpdateOnFragmentsNotTopBar(m);
          } catch (Exception e) {
            // TODO Auto-generated catch block
            // Logs.show(e);
          }

          // notifyDataSetChanged();

          break;

        case R.id.favouriteTile1:
        case R.id.favouriteTile2:
          try {
            //					Logs.show(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
            // topFragmentName"+topFragmentName);

            Bundle b = new Bundle();

            b.putString("vCompetitionId", vCompetitionId);
            b.putString("fromFragment", topFragmentName);
            b.putString("vMainColor", vMainColor);
            b.putString("vMainTitleColor", vMainTitleColor);
            b.putString("vSecColor", vSecColor);
            b.putString("vSecTitleColor", vSecTitleColor);
            Constants.isGrayBar = true;

            PlayupLiveApplication.getFragmentManagerUtil().setFragment("LeagueLobbyFragment", b);
          } catch (Exception e) {
            // TODO Auto-generated catch block
            // Logs.show(e);
          }

          break;

        default:
          break;
      }
    } catch (Exception e) {
      // TODO Auto-generated catch block
      // Logs.show(e);
    }
  }