@Override public void onClick(View v) { switch (v.getId()) { case R.id.sendBtn: mPresenter.sendComment(mPostPath, mInputArean.getText().toString()); break; } }
@Override protected void loadData() { mSwipeLayout.setRefreshing(true); mPresenter.getTopicDetail(mPostPath); }
@Override protected void attachVeiw() { mPresenter = new TopicDetailPresenter(); mPresenter.attachView(this); }
@Override protected void detachView() { mPresenter.detachView(); }