Why use Dagger or Hilt DI when I can use static functions?

后端 未结 0 364
渐次进展
渐次进展 2020-12-31 01:13

I am learning DI with Dagger2 and Hilt and I\'ve got a question: When creating android app I notice that I use lots of utility classes with static methods(i.e. a function th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题