Hi, I am writing kotlin files inside a java Android project, and having some problem when I tried to inject field from a java module.
The dagger injected variable in java file looks like
@Inject @Identifier boolean isTablet
and I copied this line to my kotlin file, it got converted to
@Inject @Identifier internal var isTablet: Boolean = false
I can’t remove “= false” because AS shows “Property must be initialized or be abstract” error
What’s the correct syntax I should use to properly inject variable from java file?