Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

xamarin timer example


Device.StartTimer(TimeSpan.FromSeconds(1), () =>
{
    // called every 1 second
    // do stuff here

    return true; // return true to repeat counting, false to stop timer
});

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #xamarin #timer
ADD COMMENT
Topic
Name
3+4 =