Allow setting the first screen to show on app startup

Authored by fabio.mazza on Jun 10 2022, 01:12.
Referenced Files
Unknown Object (File)
Mon, Jul 22, 07:51
Unknown Object (File)
Mon, Jul 22, 01:11
Unknown Object (File)
Sun, Jul 21, 14:12
Unknown Object (File)
Tue, Jul 16, 11:43
Unknown Object (File)
Mon, Jul 15, 23:34
Unknown Object (File)
Mon, Jul 15, 21:35
Unknown Object (File)
Mon, Jul 15, 20:53
Unknown Object (File)
Mon, Jul 15, 06:11



Restore view state by hand after changing fragment (Android framework should be doing this automatically, but it doesn't)

Allow setting the first screen to open

fixes T1091 and T1086

Test Plan

Check it builds and that the changes are good (no crashes)

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

Due note:
a - i preferiti non si aggiornano quando non ne ho nessuno e ne aggiungo uno, forse perché adesso uso lo stesso fragment?
b - ci sono degli strani artefatti quando si torna indietro oppure si riapre l'app. Capita anche a voi?

c - la schermata a cui si torna toccando indietro più e più volte rimane quella della ricerca degli arrivi

  • Fix weird fragment randomness by cleaning up methods
  • Fix bug not showing the new favorite when starting from 0

L'ultimo cambiamento dovrebbe avere risolto a), b) e c). Segnalate se ci sono altri problemi

Bro, it works perfectly. Thank you!


This revision is now accepted and ready to land.Jun 11 2022, 08:46