show indeterminate loading progressbar only when refreshing manually
This commit is contained in:
parent
94a468b2a3
commit
294eeeb9cd
@ -72,7 +72,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
if (m_actionbarRevertDepth == 0) {
|
||||
m_actionbarUpEnabled = false;
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
refresh();
|
||||
refresh(false);
|
||||
}
|
||||
|
||||
m_feedIsSelected = false;
|
||||
@ -285,6 +285,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
refresh();
|
||||
return true;
|
||||
case R.id.update_feeds:
|
||||
m_pullToRefreshAttacher.setRefreshing(true);
|
||||
refresh();
|
||||
return true;
|
||||
default:
|
||||
|
@ -1583,8 +1583,6 @@ public class OnlineActivity extends CommonActivity {
|
||||
}
|
||||
|
||||
protected void refresh(boolean includeHeadlines) {
|
||||
m_pullToRefreshAttacher.setRefreshing(true);
|
||||
|
||||
FeedCategoriesFragment cf = (FeedCategoriesFragment) getSupportFragmentManager().findFragmentByTag(FRAG_CATS);
|
||||
|
||||
if (cf != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user