Page MenuHomeGitPull.it

Make new fragment for lines, use new MaTO API
ClosedPublic

Authored by fabio.mazza on Apr 19 2022, 19:20.
Referenced Files
F2099229: D83.diff
Fri, Apr 19, 19:39
F2099168: D83.id290.diff
Fri, Apr 19, 18:42
Unknown Object (File)
Thu, Apr 18, 13:12
Unknown Object (File)
Thu, Apr 18, 13:12
Unknown Object (File)
Thu, Apr 18, 13:12
Unknown Object (File)
Thu, Apr 18, 13:12
Unknown Object (File)
Thu, Apr 18, 13:12
Unknown Object (File)
Fri, Apr 12, 04:03

Details

Summary

Use new Mato API for nearby stops

Change a bit the nearby stops logic

Work on getting feeds

Download agencies on update

Download routes from MaTO

Stop trying to download old lines

Make table for patterns, start with downloading polylines and stops

Use low priority channel for the database notifications

Add code for patterns

Save patterns with stops in the DB

Add Migration and tests

Set limits for updates

Add database schemas

Test Plan

check it builds, download on the phone and look at the logcat to see that there aren't any errors

Diff Detail

Repository
R4 Libre BusTO
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 315
Build 448: BusTO Build Plan
Build 447: arc lint + arc unit

Event Timeline

Restricted Application added a reviewer: valerio.bozzolan. · View Herald Transcript
Restricted Application added subscribers: Libre BusTO , valerio.bozzolan. · View Herald Transcript
  • Disable old test
  • Make new fragment
  • Experiment with LiveData and coroutines
  • Use LiveData
  • Show the lines nicely
  • Make stop with default gtfsID in constructor
  • Fix error and show finally the stops for the lines
  • Better parsing of Capitalized string into noncapitalized one
  • Use different layout for line shown
  • Reuse adapter, fix strings
  • Go back to the same fragment, finish up with strings
fabio.mazza retitled this revision from Database overhaul, using Room and MaTO for the data source to Make new fragment for lines, use new MaTO API.Apr 29 2022, 20:22

That's awesome!

And it works.

asd

sgtm

Land.

This revision is now accepted and ready to land.Apr 30 2022, 01:29