title: Is there a way I can cancel a running timer in Xamarin?
body: <p>I have this timer in my code:</p>
  
  <pre><code>            Device.StartTimer(TimeSpan.FromSeconds(100), () =&gt;
              {
                  Device.BeginInvokeOnMainThread(() =&gt;
                  {
                      if (detailGrid.IsVisible == true)
                      {
                          getRandomPhase();
                      }
                  });
                  return false;
              });
  </code></pre>
  
  <p>Is there a way that I could (through a gesture) <strong>cancel</strong> the timer from running or abort the timer in some way?</p>