You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
e: /app/build/tmp/kapt3/stubs/debug/../FeedDetailsActivityModuleKotlin.java:11: error: @Binds methods must have only one parameter whose type is assignable to the return type
public abstract com.nikolaykul.sebastian.presentation.feed.details.FeedDetailsViewModel.Factory viewModelFactory(@org.jetbrains.annotations.NotNull()
This error message comes from Dagger itself and not this library. Make sure you're using the latest version first, and then otherwise I would file an issue on the Dagger project if it persists. This library doesn't have a way to affect this behavior.
Unfortunately, even 2 years after this post, It's my turn to face this bug with the latest Dagger2 version (2.29.1) @JakeWharton do you still consider creating an issue on their bug tracker ?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ViewModel:
Generated factory:
Module:
Build fails with the following error:
A few notes:
@AssistedModule
builds fine as well. I guess thats because it generates java-code:How can I fix it? 🤔
The text was updated successfully, but these errors were encountered: