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.data.interactor; /* ww w. j a v a 2 s. com*/ import com.corneliudascalu.mvpnotes.MVPNotesApp; import com.corneliudascalu.mvpnotes.data.interactor.impl.NoteInteractorImpl; import dagger.Module; import dagger.Provides; /** * Provides the list of interactors used throughout the app. Handy to have them all in the same * file, * and the {@code library} annotation means that only needed interactors will be injected in the * target object * * @author Corneliu Dascalu <corneliu.dascalu@gmail.com> */ @Module(library = true, complete = false) public class InteractorsModule { @Provides public NoteInteractor provideNotesInteractor(MVPNotesApp app) { return new NoteInteractorImpl(app); } }