@ -84,7 +84,7 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -84,7 +84,7 @@ public class RssfeedsActivity extends AppCompatActivity {
protectedApplicationSettingsapplicationSettings;
// Contained feeds and items fragments
protectedRssfeedsFragmentfragmentFeeds;
protectedRssfeedsFragmentfragmentLocalFeeds;
protectedRemoteRssFragmentfragmentRemoteFeeds;
@FragmentById(R.id.rssitems_fragment)
@ -120,10 +120,10 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -120,10 +120,10 @@ public class RssfeedsActivity extends AppCompatActivity {
Fragmentfragment=null;
if(position==RSS_FEEDS_LOCAL){
fragment=fragmentFeeds;
fragment=RssfeedsFragment_.builder().build();
}
elseif(position==RSS_FEEDS_REMOTE){
fragment=fragmentRemoteFeeds;
fragment=RemoteRssFragment_.builder().build();
}
returnfragment;
@ -163,15 +163,30 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -163,15 +163,30 @@ public class RssfeedsActivity extends AppCompatActivity {
@ -190,7 +205,10 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -190,7 +205,10 @@ public class RssfeedsActivity extends AppCompatActivity {
loaders.add(loader);
loadRssfeed(loader);
}
fragmentFeeds.update(loaders);
if(fragmentLocalFeeds!=null){
fragmentLocalFeeds.update(loaders);
}
}
/**
@ -221,7 +239,10 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -221,7 +239,10 @@ public class RssfeedsActivity extends AppCompatActivity {
@ -324,9 +345,11 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -324,9 +345,11 @@ public class RssfeedsActivity extends AppCompatActivity {
false/* allow android to restore scroll position */);
}
showRemoteChannelFilters();
}
@ -398,6 +421,8 @@ public class RssfeedsActivity extends AppCompatActivity {
@@ -398,6 +421,8 @@ public class RssfeedsActivity extends AppCompatActivity {