Created
March 6, 2019 08:29
-
-
Save lucassales2/90de6173a040854e390f6ce0d8fbb1b6 to your computer and use it in GitHub Desktop.
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
import androidx.work.ListenableWorker | |
import dagger.MapKey | |
import kotlin.reflect.KClass | |
@MapKey | |
@Retention(AnnotationRetention.RUNTIME) | |
@Target(AnnotationTarget.FUNCTION) | |
annotation class WorkerKey(val value: KClass<out ListenableWorker>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment