class MyClass(context : Context) {
var context = context.applicationContext
then whenever I use
context
and command click on it, the IDE takes me to the one referenced in the constructor instead of the field. Is that incorrect and the constructor's context reference isn't held onto?
k
karelpeeters
09/11/2017, 10:37 PM
Really? If you use it in a function Idea thinks it references the constructor one?