@Override
 public void handleMessage(Message msg) {
   switch (msg.what) {
     case MSG_LOAD_COMPLETE:
       mDatas = (List<UserDynamic>) msg.obj;
       initData();
       DialogUtils.closeProgressDialog();
       break;
     case MSG_SERVER_ERROR:
       Toast.makeText(PersonalDynamicActivity.this, "服务器错误", Toast.LENGTH_SHORT).show();
       DialogUtils.closeProgressDialog();
       break;
   }
   super.handleMessage(msg);
 }
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   requestWindowFeature(Window.FEATURE_NO_TITLE);
   setContentView(R.layout.personal_setting_dynamic_ui);
   MyApplication.getInstance().addActivity(this);
   DialogUtils.showProgressDialog("提醒", "用户动态信息加载中", this);
   initView();
   initTitle();
   int category = getIntent().getIntExtra("category", -1);
   Log.e("TAG", category + "");
   if (category != -1) {
     userDynamicService.loadData(category, UserServiceImpl.getCurrentUserId(this), handler);
   }
 }