Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 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 ();
 }
Ejemplo n.º 5
0
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     StartSyncService ();
 }
Ejemplo n.º 6
0
 private void OnSyncStarted (SyncStartedMessage msg)
 {
     if (Handle == IntPtr.Zero)
         return;
     Handler.PostDelayed (ResetSyncProgressBar, 2500);
 }
Ejemplo n.º 7
0
 protected void SyncStarted (SyncStartedMessage msg)
 {
     syncStatus = syncing;
     syncStatusText.SetText (Resource.String.CurrentlySyncingStatusText);
 }