Download My Stream Timer

0 views
Skip to first unread message

Mazie Machain

unread,
Jan 8, 2024, 7:24:18 AM1/8/24
to catchblogabpric
With geolocator package you have the possibility to listen to position streaming, as detailed here, so you don't have to implement it on your own. It is quite simple to add a listener that get's called when user location changes, like this:
download my stream timer
I'm trying to set up a timer/stream that checks DateTime and as soon as the day shifts over, it calls a function (_startDayChange()). It all works, but for one problem:No matter where I start the Timer/Stream from, sooner or later it gets calles a second/third/fourth time and I have multiple timers/streams running all doing the same thing. Here is one code snippet from one of my many attempts:
35fe9a5643
Reply all
Reply to author
Forward
0 new messages