コード例 #1
0
  /** 显示上拉加载更多控件 */
  private void showLoadingMoreView() {
    mRefreshViewHolder.changeToLoadingMore();
    mLoadMoreFooterView.setVisibility(VISIBLE);

    ScrollingUtil.scrollToBottom(mScrollView);
    ScrollingUtil.scrollToBottom(mRecyclerView);
    ScrollingUtil.scrollToBottom(mAbsListView);
    if (mStickyNavLayout != null) {
      mStickyNavLayout.scrollToBottom();
    }
  }
コード例 #2
0
  public void scrollToBottom() {
    ScrollingUtil.scrollToBottom(mDirectScrollView);
    ScrollingUtil.scrollToBottom(mDirectRecyclerView);
    ScrollingUtil.scrollToBottom(mDirectAbsListView);

    if (mDirectViewPager != null) {
      if (mNestedContentView == null) {
        regetNestedContentView();
      }
      ScrollingUtil.scrollToBottom(mNestedScrollView);
      ScrollingUtil.scrollToBottom(mNestedRecyclerView);
      ScrollingUtil.scrollToBottom(mNestedAbsListView);
    }
  }