@Override
  protected void callBackForServerSuccess(HemaNetTask netTask, HemaBaseResult baseResult) {
    GtsdpHttpInformation information = (GtsdpHttpInformation) netTask.getHttpInformation();
    switch (information) {
      case DELIVERY_ORDER_LIST:
        cancelProgressDialog();
        GtsdpArrayResult<OrderModel> result = (GtsdpArrayResult<OrderModel>) baseResult;
        listDatas = result.getObjects();
        adapter = new DispatchingListAdapter(mContext, listDatas);
        showListView.setAdapter(adapter);
        if (result.getObjects().size() < 20) {
          refreshLoadmoreLayout.setLoadmoreable(false);
        }
        break;

      default:
        break;
    }
  }
  @Override
  protected void setListener() {
    radioGroup.setOnCheckedChangeListener(this);
    imageQuitActivity.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            finish(R.anim.none, R.anim.right_out);
          }
        });
    showListView.setOnItemClickListener(
        new OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            Intent intent = new Intent(DispatchingActivity.this, OrderDetailActivity.class);
            intent.putExtra("keytype", "1");
            intent.putExtra("keyid", listDatas.get(position).getId());
            startActivity(intent);
            overridePendingTransition(R.anim.right_in, R.anim.none);
          }
        });
    refreshLoadmoreLayout.setOnStartListener(
        new OnStartListener() {

          @Override
          public void onStartRefresh(XtomRefreshLoadmoreLayout v) {
            // TODO Auto-generated method stub
            refreshLoadmoreLayout.refreshSuccess();
          }

          @Override
          public void onStartLoadmore(XtomRefreshLoadmoreLayout v) {
            // TODO Auto-generated method stub
            refreshLoadmoreLayout.loadmoreSuccess();
          }
        });
  }