public void BackupSettings_GotFocus() { var numItems = _playerItemDao.GetNumItems(); var numUnsynchronizedItems = _playerItemDao.GetNumUnsynchronizedItems(); var numSynchronized = numItems - numUnsynchronizedItems; UpdateInformativeLabel(numItems, numSynchronized, numUnsynchronizedItems); }
public long GetNumUnsynchronizedItems() { return(ThreadExecuter.Execute( () => repo.GetNumUnsynchronizedItems() )); }