@Override
        public void run() {

          if (businessListVector != null && businessListVector.size() > 0) {

            adapter = new BusinessListAdapter(mContext, businessListVector, R.layout.business_list);

            businesslist.setAdapter(adapter);

            adapter.dataSet(listPosition);

            adapter.notifyDataSetChanged();

            //     clickOnListItem(selectionposition, businesslist);

            AppConfigManager.saveBusinessNameEIN(
                mContext,
                businessListVector.get(listPosition).getOrganizationName(),
                businessListVector.get(listPosition).getEin());

            AppConfigManager.saveBID(mContext, businessListVector.get(listPosition).getBId());

            getBusineesListDetails(businessListVector.get(listPosition).getBId());

            Log.i("dashboard", "bid : " + AppConfigManager.getBID(mContext));
          }
        }
  private void TaxPageFragment(String id) {

    mDrawerLayout.closeDrawer(businesslistlayout);

    refresh.setVisibility(View.GONE);

    businesslistview.setVisibility(View.GONE);

    DashBoardTitle.setText("ADD EXEMPT ORGANIZATION DETAILS");

    AppConfigManager.saveFlag(mContext, 0);

    Fragment newFragment = new CommonTaxFragment(mContext);

    FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();

    transaction.setCustomAnimations(R.anim.slidein, R.anim.slideout);

    // Replace whatever is in the fragment_container view with this fragment,
    // and add the transaction to the back stack if needed
    transaction.replace(R.id.wholevertical, newFragment);

    transaction.addToBackStack(FragmentNameConfig.FORM_TAX_SELECTION_FRAGMENT);

    // Commit the transaction
    transaction.commit();
  }
  public void getBusineesList() {

    BusinessListRequestModel = new AddBussinessInputModel();

    BusinessListRequestModel.setAT(AppConfigManager.getAccessToken(mContext));

    BusinessListRequestModel.setDID(AppConfigManager.getDID(mContext));

    BusinessListRequestModel.setUId(AppConfigManager.getLoggedUid(mContext));

    GetBusinessListURL getBusinessListURL =
        new GetBusinessListURL(BusinessListRequestModel.getJsonObjBusinessLookUP(), mContext);

    getBusinessListURL.setOnResultListener(onAsyncResultGetBusinessListURL);

    getBusinessListURL.execute();
  }
  public void getBusineesListDetails(String bid) {

    BusinessListDetailRequestModel = new AddBussinessInputModel();

    BusinessListDetailRequestModel.setAT(AppConfigManager.getAccessToken(mContext));

    BusinessListDetailRequestModel.setDID(AppConfigManager.getDID(mContext));

    BusinessListDetailRequestModel.setUId(AppConfigManager.getLoggedUid(mContext));

    BusinessListDetailRequestModel.setBId(bid);

    GetBusinessReturnListDetailsURL getBusinessReturnListDetailsURL =
        new GetBusinessReturnListDetailsURL(
            BusinessListDetailRequestModel.getBusinessReturnListDetailRequestModel(), mContext);

    getBusinessReturnListDetailsURL.setOnResultListener(onAsyncResultGetBusinessListDetailURL);

    getBusinessReturnListDetailsURL.execute();
  }
  private void getReviewDetailsById() {

    AuditModel getAuditModel = new AuditModel();

    getAuditModel.setAT(AppConfigManager.getAccessToken(mContext));

    getAuditModel.setUId(AppConfigManager.getLoggedUid(mContext));

    getAuditModel.setRID(AppConfigManager.getReturnRID(mContext));

    getAuditModel.setDId(AppConfigManager.getDID(mContext));

    if (getAuditDetails != null) getAuditDetails.cancel(true);

    getAuditDetails = new AuditForm8868_URL(getAuditModel.getAuditDetails(mContext), mContext);

    getAuditDetails.setOnResultListener(getAuditAsync);

    getAuditDetails.execute();
  }
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    // TODO Auto-generated method stub

    Thread.setDefaultUncaughtExceptionHandler(new UnCaughtException(mContext));

    try {

      BId = AppConfigManager.getBID(mContext);
      EIN = AppConfigManager.getEIN(mContext);
      BN = AppConfigManager.getBusinessname(mContext);

      CommonTaxView = inflater.inflate(R.layout.review, container, false);

      InputMethodManager in =
          (InputMethodManager) ((Activity) mContext).getSystemService(Context.INPUT_METHOD_SERVICE);

      in.hideSoftInputFromWindow(
          CommonTaxView.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);

      initialization();

      onClick();

      setTypeFont();

      addLeftFragment();

      getReviewDetailsById();

    } catch (Exception e) {
      // TODO Auto-generated catch block

      e.printStackTrace();

      new SendException(getActivity(), e);
    }

    return CommonTaxView;
  }
  private void MyAccountEnableDisable() {
    try {
      if (Integer.parseInt(AppConfigManager.getCPA(mContext)) == 2) {
        myAccount_Layout.setVisibility(View.GONE);
      } else {
        myAccount_Layout.setVisibility(View.GONE);
      }
    } catch (Exception e) {

      e.printStackTrace();
      new SendException(mContext, e);
    }
  }
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    // TODO Auto-generated method stub

    Thread.setDefaultUncaughtExceptionHandler(new UnCaughtException(mContext));

    try {

      this.RID = AppConfigManager.getReturnRID(mContext);

      this.BId = AppConfigManager.getBID(mContext);

      this.EIN = AppConfigManager.getEIN(mContext);

      this.BN = AppConfigManager.getBusinessname(mContext);

      if (CommonTaxView == null) {

        CommonTaxView = inflater.inflate(R.layout.commontaxfragment, container, false);

        Initialization();

        pageRedirection(AppConfigManager.getFlag(mContext));
      }

      return CommonTaxView;

    } catch (Exception e) {
      // TODO Auto-generated catch block

      e.printStackTrace();

      new SendException(mContext, e);
    }

    return null;
  }
  private void Initialization(View viewToLoad) {

    try {

      TypeFaceClass typeface = new TypeFaceClass(mContext);

      DashBoardTitle = (TextView) viewToLoad.findViewById(R.id.DashBoardTitle);

      logolayout = (LinearLayout) viewToLoad.findViewById(R.id.logolayout);

      refresh = (ImageView) viewToLoad.findViewById(R.id.refresh);

      businesslistview = (ImageView) viewToLoad.findViewById(R.id.businesslistview);

      loginname = (TextView) findViewById(R.id.loginname);

      loginname.setTypeface(typeface.RobotoCondensed());

      loginname.setText("Hi " + AppConfigManager.getContactname(mContext) + "!");

      support = (TextView) findViewById(R.id.Support);

      support.setTypeface(typeface.RobotoCondensed());

      dashboardlink = (TextView) findViewById(R.id.Dashboardlink);

      dashboardlink.setTypeface(typeface.RobotoCondensed());

      dashboardlink.setEnabled(false);

      logout = (TextView) findViewById(R.id.Logout);

      logout.setTypeface(typeface.RobotoCondensed());

      cpaedit = (TextView) findViewById(R.id.cpaedit);

      cpaedit.setTypeface(typeface.RobotoCondensed());

      EmailAddressText = (TextView) findViewById(R.id.EmailAddressText);

      EmailAddressText.setText(AppConfigManager.getUserName(mContext));

      EmailAddressText.setTypeface(typeface.RobotoCondensed());

      listfilter = (EditText) findViewById(R.id.listfilter);

      businesslistlayout = (LinearLayout) findViewById(R.id.businesslistlayout);

      rootlayout = (FrameLayout) findViewById(R.id.rootlayout);

      menulayout = (RelativeLayout) findViewById(R.id.menulayout);

      menulayout.setClickable(true);

      myAccount_Layout = (LinearLayout) findViewById(R.id.myAccount_Layout);

      menu = (ImageView) viewToLoad.findViewById(R.id.menu);

      businesslist = (ListView) findViewById(R.id.businesslist);

      addnewbusinessdashboard = (Button) findViewById(R.id.addnewbusinessdashboard);

    } catch (Exception e) {

      e.printStackTrace();

      new SendException(mContext, e);
    }
  }