Download stops data from Mato

Authored by fabio.mazza on Dec 24 2021, 18:28.
Referenced Files
F1823652: D75.diff
Mon, Sep 25, 02:33
F1823582: D75.id266.diff
Mon, Sep 25, 00:52
F1823581: D75.id265.diff
Mon, Sep 25, 00:52
F1823580: D75.id264.diff
Mon, Sep 25, 00:51
F1823577: D75.id263.diff
Mon, Sep 25, 00:51
F1823570: D75.id262.diff
Mon, Sep 25, 00:51
Mon, Sep 25, 00:51
F1822977: D75.id263.diff
Sun, Sep 24, 15:20



Make the app query the mato server, and download the stops data. It gets a bit involved, but it works!

Test Plan

Check build doesn't fail and test test test

Diff Detail

R4 Libre BusTO
No Lint Coverage
No Test Coverage
Build Status
Buildable 293
Build 412: BusTO Build Plan
Build 411: 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

Uhm. With this update I'm not able anymore to search 1254 and 3128. Moreover, I have some problems in changing the API with the longtap. It stucks on "Cambiamento sorgente orari".

  • Create new AsyncTask for stops
  • Remove old code from AsyncDataDownload, rename
  • Supposedly show the stop when the results are good, but empty (no passages)
This revision is now accepted and ready to land.Dec 26 2021, 14:37
This revision was automatically updated to reflect the committed changes.