remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

If a prediction has been in state CACHED a while and has no arrivals, move it to BAD or UPDATING #274

Open remulasce opened 9 years ago

remulasce commented 9 years ago

So we assume user can lose network connectivity at any time (going into tunnels), so if we've ever gotten an update we basically assume it's good.

But if you leave the app closed for a while and then open it, all of the old cached arrivals will have come and gone, and so you just see the headers, and no indication that we're going back to network to get new arrivals.

So if it's been a while and we have nothing to show, we should reset and show the 'updating' spinner again.