| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
AdvancedTimer implementation for Xamarin.Forms
Timer object and its methods are implemented for extended support for timers. You can start, stop, change interval of a timer. For Xamarin.Forms projects Can be used with Dependency service.
This repo is not maintained anymore. See here #20 for more information.
In your iOS, Android, and Windows Phone projects please call:
iOS
AdvancedTimer.Forms.Plugin.iOS.AdvancedTimerImplementation.Init();
Android
AdvancedTimer.Forms.Plugin.Droid.AdvancedTimerImplementation.Init();
You must do this AFTER you call Xamarin.Forms.Init();
To gain access to the Timer class simply use the dependency service:
IAdvancedTimer timer = DependencyService.Get<IAdvancedTimer>();
You MUST call initTimer for timer initialization;
timer.initTimer(3000, timerElapsed, true);
initTimer(interval, Eventhandler function, AutoReset);
timer.startTimer();
timer.stopTimer();
timer.getInterval()
timer.setInterval(5000);
timer.isTimerEnabled();
Thanks!
MIT License
| Back | FazBrowse Home | New Git URL |