Join Slack
Powered by
I would do var with the lateinit modifier, that wa...
# getting-started
k
karelpeeters
07/02/2017, 6:37 PM
I would do var with the lateinit modifier, that way you won't run into possible unexpected behaviour. As to how they change a val (aka final) field, java reflection can do this:
https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection
3
Views
Open in Slack
Previous
Next