コード例 #1
0
  public void ChangeFragment(int hottype, boolean isneedsavenextpage) {

    if (mPresenter != null) {
      if (isneedsavenextpage) {
        mPresenter.setIsNeedRemoveOldFeeds();
      }
      ((HotTopicFeedPresenter) mPresenter).loadDataFromServer(hottype);
    }
  }
コード例 #2
0
 @Override
 protected HotTopicFeedPresenter createPresenters() {
   HotTopicFeedPresenter presenter = new HotTopicFeedPresenter(this);
   presenter.setId(mTopic.id);
   return presenter;
 }