'Does Injecting many dependencies in a ViewModel affect the performance?

Does Injecting too many dependencies using dagger hilt in a ViewModel affect the performance of an android application?



Solution 1:[1]

As far as I know, increasing dependency will just increase build time for dagger hilt as dagger hilt provide dependency at compile time. So, it will not affect app performance.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vivek Gupta