Package 

Class ViewModelModule

  • All Implemented Interfaces:

    @Module() 
    public abstract class ViewModelModule
    
                        

    Module for View Models injection We prefer injecting VMs instead of using androidX 'by viewModels' in order to be able to inject the VM constructor It will be easier for unit testing because there is some computation on VM init.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description