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
F2097145: D83.id290.diff
Thu, Apr 18, 13:12
F2097144: D83.id289.diff
Thu, Apr 18, 13:12
F2097143: D83.id288.diff
Thu, Apr 18, 13:12
F2097142: D83.id287.diff
Thu, Apr 18, 13:12
F2097141: D83.id.diff
Thu, Apr 18, 13:12
Unknown Object (File)
Fri, Apr 12, 04:03
Unknown Object (File)
Tue, Apr 9, 10:41
Unknown Object (File)
Fri, Apr 5, 14:24

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 314
Build 446: BusTO Build Plan
Build 445: 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