Created
January 13, 2020 07:11
-
-
Save ubarua123/cb3fd9d3e23d29f657bd7b3e2aa6ba6b to your computer and use it in GitHub Desktop.
Woker Binding module
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
@Module | |
public abstract class WorkerBindingModule { | |
@Binds | |
@IntoMap | |
@WorkerKey(SampleWorker.class) | |
abstract RxWorker bindPushContentWorker(SampleWorker sampleWorkerInstance); | |
@Binds | |
@IntoMap | |
@WorkerKey(SampleWorker2.class) | |
abstract RxWorker bindContentTypesDumpWorker(SampleWorker2 sampleWorker2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment