Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

How can i implement a timer in xf ? i need a sleep safe timer

$
0
0

Hi all,
i currently use "Xamarin.Forms.Device.StartTimer" to start my timer.
As suspected, when application goes to sleep mode, timer go to sleep with it.
Is there any way to implement a timer ?
Please don't tell me to use external components...i want first of all to understand xamarin leverages,
i cannot use external components to resolve all my problems :(

By the way, i need to develop an application that continues to work even if phone is doing other tasks : a call, a sleep.. etc.
In android native i resolved this challenge using started services.
Which is the correct approach in xamarin forms?

thanks
Alessandro


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>