Skip to content
Snippets Groups Projects
  1. Jan 25, 2021
    • Mohamed Metwalli's avatar
      Dagger2 Assisted Inject (Dev) #2181 · 82d322da
      Mohamed Metwalli authored
      * Migrate to dagger2 assisted injection
      
      * bump version
      
      * Fix Worker test
      
      * Fix failing test
      
      * Remove Square AssistedInject from Technical file
      
      * Set nav-graph in Ui Thread to prevent crashing
      
      * bump dagger to 2.31.2
      Unverified
      82d322da
  2. Oct 07, 2020
    • Matthias Urhahn's avatar
      Introduce VM injection for home screen and enable screen testing... · b4f32951
      Matthias Urhahn authored
      Introduce VM injection for home screen and enable screen testing (EXPOSUREAPP-2946, EXPOSUREAPP-2948) (#1320)
      
      * Rename "MainFragment" to "HomeFragment"
      Add VM injection.
      Move initial logic into VM.
      
      TODO: Move more code, write more tests.
      
      * Additional refactoring, moving logic out of the Fragment.
      Moving code into their own encapsulated routines/components.
      Use composition to reuse TracingViewModel, SettingsViewModel and SubmissionViewModel
      
      * Introduce @AppContext annotation to prevent anyone mistaking it for something else.
      
      * Add VM to RiskDetailsFragment
      
      * Simplify nested viewmodels, here: TracingViewModel.kt
      
      * Add skeletons instrumentation test skeleton for single fragments with injection and mocking.
      
      * Address PR comments.
      
      * Introduce sealed events class, + some refactoring.
      
      * Make the linter happy.
      Unverified
      b4f32951
Loading