Back to project page mvp-notes.
The source code is released under:
Apache License
If you think the Android project mvp-notes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.corneliudascalu.mvpnotes; //from w ww .j a v a 2 s.c om import com.corneliudascalu.mvpnotes.data.interactor.InteractorsModule; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * @author Corneliu Dascalu <corneliu.dascalu@gmail.com> */ @Module(injects = {MVPNotesApp.class}, includes = {InteractorsModule.class} ) public class AppModule { private MVPNotesApp app; public AppModule(MVPNotesApp app) { this.app = app; } @Provides @Singleton public MVPNotesApp provideApplication() { return app; } }