Пример #1
0
 private async Task OnTimer()
 {
     RunOnUiThread(() => {
         bool onLine = IsOnline();
         SetControlsState(onLine);
         if (onLine)
         {
             _textInet.Text = "";
             if (timer != null)
             {
                 timer.Cancel();
             }
         }
         else
         {
             Flash();
         }
     });
 }