add indeterminate progressbars to a few more logical places
This commit is contained in:
parent
cc0bd900b6
commit
060fef90fd
@ -85,8 +85,10 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
if (m_slidingMenu != null)
|
||||
m_slidingMenu.showMenu();
|
||||
|
||||
m_pullToRefreshAttacher.setRefreshing(true);
|
||||
|
||||
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
|
||||
|
||||
|
||||
if (m_prefs.getBoolean("enable_cats", false)) {
|
||||
ft.replace(R.id.feeds_fragment, new FeedCategoriesFragment(), FRAG_CATS);
|
||||
} else {
|
||||
@ -162,6 +164,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
|
||||
public void onFeedSelected(Feed feed) {
|
||||
GlobalState.getInstance().m_loadedArticles.clear();
|
||||
m_pullToRefreshAttacher.setRefreshing(true);
|
||||
|
||||
FragmentTransaction ft = getSupportFragmentManager()
|
||||
.beginTransaction();
|
||||
@ -217,6 +220,8 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
public void onCatSelected(FeedCategory cat, boolean openAsFeed) {
|
||||
FeedCategoriesFragment fc = (FeedCategoriesFragment) getSupportFragmentManager().findFragmentByTag(FRAG_CATS);
|
||||
|
||||
m_pullToRefreshAttacher.setRefreshing(true);
|
||||
|
||||
if (!openAsFeed) {
|
||||
|
||||
if (fc != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user