This commit is contained in:
David-Development 2015-11-16 02:38:15 +01:00
parent f625c41aed
commit 0f4c232258
2 changed files with 8 additions and 2 deletions

View file

@ -549,7 +549,13 @@ public class NewsReaderListActivity extends PodcastFragmentActivity implements
protected void onResume() {
ThemeChooser.chooseTheme(this);
reloadCountNumbersOfSlidingPaneAdapter();
//reloadCountNumbersOfSlidingPaneAdapter();
//reload adapter - a sync could have been finished
NewsReaderListFragment newsReaderListFragment = getSlidingListFragment();
if(newsReaderListFragment != null) {
newsReaderListFragment.ReloadAdapter();
}
invalidateOptionsMenu();

View file

@ -58,7 +58,7 @@ public class OwnCloudSyncService extends Service {
protected static final String TAG = "OwnCloudSyncService";
private RemoteCallbackList<IOwnCloudSyncServiceCallback> callbacks = new RemoteCallbackList<>();
private static RemoteCallbackList<IOwnCloudSyncServiceCallback> callbacks = new RemoteCallbackList<>();
private CountDownLatch syncCompletedLatch;
private StopWatch syncStopWatch;