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()
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?