Download stops data from Mato

Authored by fabio.mazza on Dec 24 2021, 18:28.



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.