pager: always show progressbar on refresh
This commit is contained in:
parent
14e63e4cbe
commit
d6e1597e73
@ -131,7 +131,6 @@ public class ArticlePager extends Fragment {
|
|||||||
|
|
||||||
if ((m_activity.isSmallScreen() || m_activity.isPortrait()) && position == m_adapter.getCount() - 15) {
|
if ((m_activity.isSmallScreen() || m_activity.isPortrait()) && position == m_adapter.getCount() - 15) {
|
||||||
Log.d(TAG, "loading more articles...");
|
Log.d(TAG, "loading more articles...");
|
||||||
m_activity.m_pullToRefreshAttacher.setRefreshing(true);
|
|
||||||
refresh(true);
|
refresh(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,6 +145,7 @@ public class ArticlePager extends Fragment {
|
|||||||
m_activity.setLoadingStatus(R.string.blank, true);
|
m_activity.setLoadingStatus(R.string.blank, true);
|
||||||
|
|
||||||
m_activity.setProgressBarVisibility(true);
|
m_activity.setProgressBarVisibility(true);
|
||||||
|
m_activity.m_pullToRefreshAttacher.setRefreshing(true);
|
||||||
|
|
||||||
if (!m_feed.equals(GlobalState.getInstance().m_activeFeed)) {
|
if (!m_feed.equals(GlobalState.getInstance().m_activeFeed)) {
|
||||||
append = false;
|
append = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user