I have problem with this code:
Device.StartTimer(seconds, () => { if (user.ToString("HH:mm") == DateTime.Now.ToString("HH:mm")) { LoadCallLog(); Thread.Sleep(60000); } return true; });
User is time from database. I want every day when is user = current time call method LoadCallLog(), but it call method only first day. When is next day method won't call. Do someone have idea what's wrong? Thank you!
LoadCallLog()
1.4m articles
1.4m replys
5 comments
57.0k users