I want to get some data like date and time on background process and update UI with that without block the UI process, I tried to do that with this code:
var dateTime = await Api.Get<DateTime>("api/getNow");
MyTextView.Text = dateTime;
But this code blocked the UI and I need to get this data each 30 minute and because of that I add code below which I found from Xamarin:
TimerCallback timerDelegate = new TimerCallback(CheckStatus);
Timer timer = new Timer(timerDelegate, s, 30000, 30000);
But in Zebble the Timer not defined with 4 parameters.