Thread
#dagger
    ritesh

    ritesh

    4 months ago
    Can you add Qualifier on a class or on the function where you bind an interface with it's implementation?
    @MyQualifier
    @Singleton
    class MyClass @Inject constructor() {}
    or
    @Binds
    @MyQualifier
    abstract fun binds(it: Impl): Interface
    wasyl

    wasyl

    4 months ago
    Have you tried and it didn’t work?
    ritesh

    ritesh

    4 months ago
    It works! 🙇‍♂️ There was a compilation error (package name was missing in one file) and i thought it might be something to do with this, as dagger error was misleading!