Fixed potential bug in FeedlistFragment

This commit is contained in:
Daniel Oeh 2012-06-01 15:17:19 +02:00
parent 8dc5c04aa2
commit 8f9db70291
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ public class FeedlistFragment extends SherlockListFragment {
filter.addAction(DownloadService.ACTION_FEED_SYNC_COMPLETED); filter.addAction(DownloadService.ACTION_FEED_SYNC_COMPLETED);
pActivity.registerReceiver(contentUpdate, filter); pActivity.registerReceiver(contentUpdate, filter);
fla.notifyDataSetChanged();
} }
@Override @Override
@ -102,6 +103,7 @@ public class FeedlistFragment extends SherlockListFragment {
private BroadcastReceiver contentUpdate = new BroadcastReceiver() { private BroadcastReceiver contentUpdate = new BroadcastReceiver() {
@Override @Override
public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) {
Log.d(TAG, "Received contentUpdate Intent.");
fla.notifyDataSetChanged(); fla.notifyDataSetChanged();
} }
}; };