In Java, variables that are modified in anonymous ...
# intellij
a
In Java, variables that are modified in anonymous functions/lambdas need to be final, so often times you put them into arrays so you can change the reference. You don’t need to do that in Kotlin because it’s internal, so I assume this warning could be related to that