Created
February 11, 2017 21:43
-
-
Save PierceZ/0d03cc90d67ac9ef9d02565d56851d72 to your computer and use it in GitHub Desktop.
Dagger component to make use of my BusModule class.
This file contains 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
@Component(modules = BusModule.class) | |
@Singleton | |
public interface BusComponent { | |
@Named(BusModule.PROVIDER_TOP_SUBJECT) | |
PublishSubject<String> getTopSubject(); | |
@Named(BusModule.PROVIDER_BOTTOM_SUBJECT) | |
PublishSubject<String> getBottomSubject(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment