diff --git a/src/org/fox/ttrss/FeedsActivity.java b/src/org/fox/ttrss/FeedsActivity.java index 13c1675b..f7f0c989 100644 --- a/src/org/fox/ttrss/FeedsActivity.java +++ b/src/org/fox/ttrss/FeedsActivity.java @@ -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) {