Ejemplo n.º 1
0
  @Override
  protected void onContactsOption(String option) {
    //        showPendingDialog(null);
    if (ContactsUtils.STR_COMPLAIN.equals(option)) {
      //        	ToastUtils.showToast(option);
      if (mMarket != null) {
        Intent intent =
            new Intent(FreightMarketDetailActivity.this, CustomerComplaintActivity.class);
        intent.putExtra("user", mMarket);
        startActivity(intent);
      } else {
        Toast.makeText(getApplicationContext(), "投诉", Toast.LENGTH_SHORT).show(); // 投诉
      }

    } else {
      ContactsUtils.onContactsOption(option, mMarket.getId(), this);
    }
  }