示例#1
0
        private void OnSyncStarted (SyncStartedMessage msg)
        {
            if (Handle == IntPtr.Zero)
                return;

            // Make sure we only show sync progress bar after 2.5 seconds from the start of the latest sync.
            var currentSync = ++syncCount;
            Handler.PostDelayed (delegate {
                if (currentSync == syncCount) {
                    ResetSyncProgressBar ();
                }
            }, 2500);
        }
 protected void SyncStarted (SyncStartedMessage msg)
 {
     syncRetryButton.Enabled = false;
     syncStatus = syncing;
     syncStatusText.SetText (Resource.String.CurrentlySyncingStatusText);
 }
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     if (StatusBarShown) {
         statusView.IsSyncing = true;
     }
 }
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     syncRunning = true;
     ResetIndicator ();
 }
示例#5
0
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     StartSyncService ();
 }
示例#6
0
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     if (Handle == IntPtr.Zero)
         return;
     Handler.PostDelayed (ResetSyncProgressBar, 2500);
 }
 protected void SyncStarted (SyncStartedMessage msg)
 {
     syncStatus = syncing;
     syncStatusText.SetText (Resource.String.CurrentlySyncingStatusText);
 }