Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Gradle version to latest version #7

Closed
alirezaeiii opened this issue Jan 20, 2019 · 0 comments
Closed

Update Gradle version to latest version #7

alirezaeiii opened this issue Jan 20, 2019 · 0 comments

Comments

@alirezaeiii
Copy link

I have updated Gradle wrapper version to : 4.10.1
And Gradle version to : 3.3.0
And Kotlin version to : 1.3.11

I receive two Kotlin compiler error :
1 - error: no interface expected here
public class ViewModelFactory extends android.arch.lifecycle.ViewModelProvider.Factory {

2 - error: @BINDS methods must have only one parameter whose type is assignable to the return type
public abstract android.arch.lifecycle.ViewModelProvider.Factory bindViewModelFactory(@org.jetbrains.annotations.NotNull()

Full question can be found at : https://stackoverflow.com/questions/54270912/dagger2-and-architectural-components-kotlin-compiler-error

Could you help to resolve errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant