Comments (13)
This could definitely be integrated as well into a new trip details / extended arrivals activity. There's a lot to think about if I want to add all of these features.
from onebusaway-android.
There are also a number of ideas on how to implement this from users on an OBA IdeaScale idea page as well.
This is important in Tampa since some routes have half-hour or even hour headways, and on these routes/stops the app has limited utility when only the next 35 minutes is shown to the user. Half-hour headways arrivals are removed from the user's view as well where there is more than a 5 minute delay.
Ideally we should try and coordinate with OBA iPhone too so we have some consistency (or borrow ideas ;) ) for how information is shown to the user.
from onebusaway-android.
OBA iPhone devs just implemented a feature for this, I'll post a screenshot when the build goes out for testing.
from onebusaway-android.
The current iPhone solution is to add a Load more arrivals
button at the bottom of the arrivals list:
When tapped, the app hits the API again, increasing the minutesAfter
parameter by 30. If there are more arrivals they are tacked onto the bottom of the list, with the Load more arrivals
button remaining at the bottom:
If tapped again, minutesAfter
is increased by 30 minutes again.
@paulcwatts Would you be ok with a similar solution for Android? If so I'll try to implement soon.
from onebusaway-android.
That's fine with me. Eventually it would be nice to just provide a link to the stop schedule as well.
from onebusaway-android.
Agreed, stop schedule link would be good too, I'm assuming in the context menu that pops up when tapping on the arrival time (this is where "route schedule" appears)? I'll open a separate issue for this, since at a glance I believe this requires another field in the Regions API for a base URL for the OBA website (which doesn't necessarily have the same base URL as the API).
from onebusaway-android.
Well, as an alternative to directing to the OBA stop schedule page, there is a stop_url
in the GTFS spec, but neither HART in Tampa nor Sound Transit populate it (and I'm assuming this means they don't have web pages per stop). I don't think the stop_url
field is in the OBA REST API response either. So pointing at the OBA stop schedule page is probably the path of least resistance, assuming an agency has an OBA website.
from onebusaway-android.
Sorry I wasn't clear, my comment was we could build some screens into the Android app that would consume the OBA Discovery APIs.
from onebusaway-android.
Ah, gotcha. I'll update the other issue.
from onebusaway-android.
@paulcwatts As far as the general style of the "Load More Arrivals" button, are you ok with the below? Any suggestions?
from onebusaway-android.
I'd just have the text flat against the list item and have the entire list item be actionable.
from onebusaway-android.
OK, so exact same as iPhone as shown earlier?
On Oct 17, 2013 6:35 PM, "Paul Watts" [email protected] wrote:
I'd just have the text flat against the list item and have the entire list
item be actionable.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-26558901
.
from onebusaway-android.
Yeah, like that +1
from onebusaway-android.
Related Issues (20)
- Don't run some tests on GitHub Actions CI HOT 1
- Informed consent needs to include word "background"
- Add a home screen widget HOT 6
- IntentService deprecated in Android 11
- Adding Italian localization HOT 3
- Update current real-time occupancy UI HOT 1
- Improve trip transfer experience - filter older arrivals when user views stop coming from another line
- UX - Color Pairings for Maximum Usability HOT 1
- Improve error handling for bad server arrival and departure times
- Android 12 causes device reboot while OBA is running HOT 4
- Google Play data disclosure - Google SDK links HOT 2
- Allow manual sync of travel behavior data HOT 4
- ForegroundServiceStartNotAllowedException on boot on some Android 12 devices
- Make background location permission configurable for rebranded apps in build.gradle HOT 1
- accessibility: items not read on main screen with screen reader
- Start with map view with routes and vehicles visible? HOT 1
- Fit and Finish Review HOT 4
- Get CI passing again HOT 1
- Dark Mode Override Doesn't 'Stick' HOT 1
- User Bug Report: Notifications and reminders of bus arrivals have stopped working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onebusaway-android.