@Override
    public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
        if (firstVisibleItem + visibleItemCount == totalItemCount && getListView().getFooterViewsCount() == 0) {
            ProgressBar progressBar = new ProgressBar(getActivity());
            progressBar.setLayoutParams(new AbsListView.LayoutParams(
                    ViewGroup.LayoutParams.MATCH_PARENT,
                    ViewGroup.LayoutParams.WRAP_CONTENT
            ));
            progressBar.setPadding(8, 8, 8, 8);
            getListView().addFooterView(progressBar);
        }
    }
Quick return effect with extra scroll-to-bottom {@link android.widget.AbsListView.OnScrollListener}

@author longkai
sample/src/main/java/com/etiennelawlor/quickreturn/fragments/QuickReturnWithExtraOnScrollListenerFragment.java