iammert / dagger-android-injection

Sample project explains Dependency Injection in Android using dagger-android framework.
516 stars 129 forks source link

problem to add NetworkModule #3

Open sajjadintel opened 7 years ago

sajjadintel commented 7 years ago

Hey, thank you for your great tutorials. I have a problem with adding a NetworkModule I don't know should i add a NetworkComponnet too or not and NetworkModule contains @Singelton . and should i add NetworkModule or NetworkComponent to AppComponent ? I'm confused... please help me. Thank you.

jemshit commented 7 years ago

NetworkModule is enough, add it to AppComponent