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)
|
if (m_slidingMenu != null)
|
||||||
m_slidingMenu.showMenu();
|
m_slidingMenu.showMenu();
|
||||||
|
|
||||||
|
m_pullToRefreshAttacher.setRefreshing(true);
|
||||||
|
|
||||||
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
|
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
|
||||||
|
|
||||||
if (m_prefs.getBoolean("enable_cats", false)) {
|
if (m_prefs.getBoolean("enable_cats", false)) {
|
||||||
ft.replace(R.id.feeds_fragment, new FeedCategoriesFragment(), FRAG_CATS);
|
ft.replace(R.id.feeds_fragment, new FeedCategoriesFragment(), FRAG_CATS);
|
||||||
} else {
|
} else {
|
||||||
@ -162,6 +164,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
|||||||
|
|
||||||
public void onFeedSelected(Feed feed) {
|
public void onFeedSelected(Feed feed) {
|
||||||
GlobalState.getInstance().m_loadedArticles.clear();
|
GlobalState.getInstance().m_loadedArticles.clear();
|
||||||
|
m_pullToRefreshAttacher.setRefreshing(true);
|
||||||
|
|
||||||
FragmentTransaction ft = getSupportFragmentManager()
|
FragmentTransaction ft = getSupportFragmentManager()
|
||||||
.beginTransaction();
|
.beginTransaction();
|
||||||
@ -217,6 +220,8 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
|||||||
public void onCatSelected(FeedCategory cat, boolean openAsFeed) {
|
public void onCatSelected(FeedCategory cat, boolean openAsFeed) {
|
||||||
FeedCategoriesFragment fc = (FeedCategoriesFragment) getSupportFragmentManager().findFragmentByTag(FRAG_CATS);
|
FeedCategoriesFragment fc = (FeedCategoriesFragment) getSupportFragmentManager().findFragmentByTag(FRAG_CATS);
|
||||||
|
|
||||||
|
m_pullToRefreshAttacher.setRefreshing(true);
|
||||||
|
|
||||||
if (!openAsFeed) {
|
if (!openAsFeed) {
|
||||||
|
|
||||||
if (fc != null) {
|
if (fc != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user