示例#1
0
  private void initView() {
    ac = ((AppContext) getApplication());
    loading = new LoadingDialog(this);

    // curUid = getIntent().getIntExtra("his_id", 0);
    Bundle bundle = getIntent().getExtras();
    if (bundle != null && bundle.containsKey("userUid")) {
      curUid = bundle.getInt("userUid");
    }
    //		curUid = ac.getLoginUid();
    backHome = (ImageView) findViewById(R.id.personal_post_back);
    backHome.setOnClickListener(UIHelper.finish(this));
    // lvHeader = View.inflate(this, R.layout.personal_post_header, null);

    initLvChat();
    initLvDiary();
    initLvMoment();
    initPostType();
  }
示例#2
0
 @Override
 public void onClick(View v) {
   UIHelper.showActivity(MyPost.this, MessageType.class);
 }