May I ask a question?
Jiaqi Liu
2

Jiaqi Liu I am glad that you figured it out. When we mention a class in the provides method argument then Dagger tries to find that class instance in the dependency graph if it exists or gather the constructor dependencies of that class in order to construct it.