Exemplo n.º 1
0
 public void Complete()
 {
     if (_delayTimer != null)
     {
         _delayTimer.Dispose();
     }
     if (_showTimer != null)
     {
         _showTimer.Dispose();
     }
     _threadManager.InvokeOnUiThread(() =>
     {
         Toast toast = _toast;
         if (toast != null)
         {
             _toast = null;
             toast.Cancel();
             _task.TrySetResult(null);
         }
     }, OperationPriority.High);
 }