Пример #1
0
 //Increment the counter and make the device vibrate once a multiple of 10 is reached
 private void SetCounter(int i)
 {
     counter_page.SetCounter(i);
     Utils.SaveCounterToPreference(this, i);
     if (i > 0 && i % 10 == 0)
     {
         Utils.Vibrate(this, 0);
     }
 }