@Override
 public void onSuccess(int arg0, Header[] arg1, byte[] arg2) {
   Result rs = XmlUtils.toBean(ResultBean.class, new ByteArrayInputStream(arg2)).getResult();
   if (rs.OK()) {
     AppContext.showToast("报名成功");
     mEventApplyDialog.dismiss();
     mDetail.getEvent().setApplyStatus(Event.APPLYSTATUS_CHECKING);
   } else {
     AppContext.showToast(rs.getErrorMessage());
   }
 }
 @Override
 protected Post parseData(InputStream is) {
   return XmlUtils.toBean(PostDetail.class, is).getPost();
 }