Download stops data from Mato

Authored by fabio.mazza on Dec 24 2021, 18:28.
Referenced Files
Unknown Object (File)
Sun, Oct 1, 04:40
Unknown Object (File)
Sat, Sep 30, 15:46
Unknown Object (File)
Tue, Sep 26, 11:13
Unknown Object (File)
Tue, Sep 26, 11:09
Unknown Object (File)
Tue, Sep 26, 11:01
Unknown Object (File)
Tue, Sep 26, 09:44
Unknown Object (File)
Tue, Sep 26, 06:58
Unknown Object (File)
Tue, Sep 26, 06:55



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 290
Build 406: BusTO Build Plan
Build 405: 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.