@Override
 public void onDestroy() {
   if (request != null) {
     mapiService().abort(request, this, true);
   }
   super.onDestroy();
 }
  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    adapter = new Adapter();
    listView.setOnItemClickListener(this);
    listView.setAdapter(adapter);

    changeStatus(STATUS_DATE);
    requestData(null, 1);
  }
  @Override
  public void onResume() {
    super.onResume();
    setTitle("论坛活动");
    setRightButton(0, null);
    setRight2Button(0, null);

    if (status == STATUS_DATE) {
      changeStatus(STATUS_DATE);
    } else {
      changeStatus(STATUS_CLASS);
    }
  }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
 }