android5-11 Exercise 3: Wiring, checklist and review ================================================ Wiring: either Chapter 9's AppContainer, DefaultAppContainer and AppViewModelProvider, or Chapter 10's @HiltAndroidApp, @AndroidEntryPoint, @HiltViewModel, DataModule and RepositoryModule. Pick one and remove the other. Checklist: walk every line of the acceptance checklist; write down any that is not yet true and what you will change. Review answer (the reasoning is general knowledge, from the design in Chapters 5 and 7): if the server went away, delete the Retrofit parts only: NotesApi, RemoteNoteDto, the converter dependency, refresh() and RefreshResult in the repository and the ViewModel, the refresh button, and the remoteId column (with a migration, or an uninstall while developing). Everything else stays exactly as it is: the screen, the UI state (minus isRefreshing), the DAO (minus insertAll), the DataStore setting, the export and the tests. That is what the repository and the single source of truth were for. Code unrun.