diff --git a/extras/PullToRefreshListFragment/libs/android-support-v4.jar b/extras/PullToRefreshListFragment/libs/android-support-v4.jar index feaf44f80..cf12d2839 100644 Binary files a/extras/PullToRefreshListFragment/libs/android-support-v4.jar and b/extras/PullToRefreshListFragment/libs/android-support-v4.jar differ diff --git a/library/src/com/handmark/pulltorefresh/library/PullToRefreshListView.java b/library/src/com/handmark/pulltorefresh/library/PullToRefreshListView.java index 0aa9a27d6..36a6f1d3d 100644 --- a/library/src/com/handmark/pulltorefresh/library/PullToRefreshListView.java +++ b/library/src/com/handmark/pulltorefresh/library/PullToRefreshListView.java @@ -313,8 +313,10 @@ public boolean dispatchTouchEvent(MotionEvent ev) { @Override public void setAdapter(ListAdapter adapter) { - // Add the Footer View at the last possible moment - if (null != mLvFooterLoadingFrame && !mAddedLvFooter) { + final Mode mode = getMode(); + // Add the Footer View at the last possible moment + if (null != mLvFooterLoadingFrame && !mAddedLvFooter + && mode.showFooterLoadingLayout()) { addFooterView(mLvFooterLoadingFrame, null, false); mAddedLvFooter = true; }