Skip to content

Fix #1537: Starred stops follow-up : layout dedup, error state, parallel requests #1552

Open
diveshpatil9104 wants to merge 1 commit into
OneBusAway:mainfrom
diveshpatil9104:feature/1537-starred-stops-followup
Open

Fix #1537: Starred stops follow-up : layout dedup, error state, parallel requests #1552
diveshpatil9104 wants to merge 1 commit into
OneBusAway:mainfrom
diveshpatil9104:feature/1537-starred-stops-followup

Conversation

@diveshpatil9104

@diveshpatil9104 diveshpatil9104 commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with gradlew connectedObaGoogleDebugAndroidTest to make sure you didn't break anything

Addresses items from #1537 (follow-up to #1520).

  • Layout dedup: Use <include layout="@layout/stop_list_item" /> instead of duplicating the layout
  • Error state: Show "Could not load arrivals" when API fails, distinguishing from "no buses scheduled"
  • Parallel requests: ExecutorService (3 threads) replaces serial per-stop API calls

addresses #1537 (items 1 to 3). Item 4 (accessibility) covered by #1544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant