Last active
February 4, 2018 17:13
-
-
Save mohsenoid/bc1c98f4f5d4c7e0061d25d8005c42a5 to your computer and use it in GitHub Desktop.
Sample SubComponent interface https://hackernoon.com/yet-another-mvp-article-part-2-how-dagger-helps-with-the-project-90d049a45e00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mirhoseini.marvel.character.search; | |
import dagger.Subcomponent; | |
@Search | |
@Subcomponent(modules = { | |
AppSearchModule.class | |
}) | |
public interface SearchSubComponent { | |
void inject(CharacterSearchFragment fragment); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment