dougblack / nextbus

GT NextBus - An Android app
17 stars 6 forks source link

How often to update predictions. #13

Closed darkzeroman closed 11 years ago

darkzeroman commented 11 years ago

I know we're close to releasing this, but this is a small change if necessary.

Some background info about app life cycle here.

If a user is on the StopActivity, should the predictions update every at some interval? Or should the user have to push the update button?

Another thing. So say the user is on StopActivity and closes the activity to go to another app. When he returns to GT NextBus and the StopActivity is open, should the predictions update?

dougblack commented 11 years ago

They're both great ideas, I say we add them. I'd recommend no less than 30 seconds for the automatic update interval. It's up to you if you want it to be this release or the next one.

I know I've stalled this release quite a bit, but that's because there have been some pretty substantial (much needed!) changes and I just want to make sure everything looks good before we release.

darkzeroman commented 11 years ago

I added the refresh when you exit the leave the StopViewActivity and come back to it. I'll leave the 30-second-or-so interval for next release.