Download stops data from Mato

Authored by fabio.mazza on Dec 24 2021, 18:28.
Referenced Files
Unknown Object (File)
Thu, May 25, 05:43
Unknown Object (File)
Sat, May 20, 18:02
Unknown Object (File)
Tue, May 16, 17:01
Unknown Object (File)
Sat, May 13, 18:41
Unknown Object (File)
Mar 28 2023, 05:55
Unknown Object (File)
Mar 4 2023, 07:56
Unknown Object (File)
Feb 25 2023, 04:16
Unknown Object (File)
Feb 18 2023, 11:21



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
Lint Not Applicable
Tests Not Applicable

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.