    if (item.getItemId() == R.id.delete_contact) {
            //TODO 此接口需要调用后端接口
            //    Toast.makeText(getContext(),"此接口改调凡信后端接口，待更新...",Toast.LENGTH_LONG).show();

            deleteContact(toBeProcessUser);


            return true;
        }
//        else if (item.getItemId() == R.id.add_to_blacklist) {
//            //TODO 此接口需要调用后端接口
//            Toast.makeText(getContext(), "此接口改调凡信后端接口，待更新...", Toast.LENGTH_LONG).show();
//            //moveToBlacklist(toBeProcessUsername);
//            return true;
//        }
        return super.onContextItemSelected(item);
    }

    /**
     * delete contact
     *
     * @param
     */
    public void deleteContact(final EaseUser tobeDeleteUser) {
        final String st1 = getResources().getString(R.string.deleting);
        final String st2 = getResources().getString(R.string.Delete_failed);
        final ProgressDialog pd = new ProgressDialog(getActivity());
        pd.setMessage(st1);
        pd.setCanceledOnTouchOutside(false);
        pd.show();
        List<Param> paramList = new ArrayList<>();
        paramList.add(new Param("hxid_from", tobeDeleteUser.getUsername()));
        paramList.add(new Param("hxid_to", DemoHelper.getInstance().getCurrentUsernName()));
        OkHttpManager.getInstance().post(paramList, FXConstant.URL_DELETE_FRIEND, new OkHttpManager.HttpCallBack() {

            @Override
            public void onResponse(JSONObject jsonObject) {
                pd.dismiss();
                int code = jsonObject.getInteger("code");
                if (code == 1000) {
                    InviteMessgeDao dao = new InviteMessgeDao(getActivity());
                    dao.deleteMessage(toBeProcessUser.getUsername());
                    UserDao userDao = new UserDao(getActivity());
                    userDao.deleteContact(tobeDeleteUser.getUsername());
                    DemoHelper.getInstance().getContactList().remove(tobeDeleteUser