And lastly, there is a keyboard shortcut to conver...
# android
a
And lastly, there is a keyboard shortcut to convert java into compilable kotlin code. ctrl + alt + shift + k
n
Java before public BoardDefaults(Context applicationContext) { this.context = applicationContext; res = this.context.getResources(); } kotlin after class BoardDefaults(private val context: Context) { private val res = context.resources }
I have issue here:
val bd = BoardDefaults(this.applicationContext) var i2cIndex = -1
expression 'boarddefaults' of thype 'boarddefaults cannot be invoked as a function. this function invked() is not found
this is issue