https://kotlinlang.org logo
r

ribesg

03/10/2016, 5:13 PM
In an Interface, what should I use for a variable which can only be changed by the implementing class? Technically I can achieve what I want with a val and override it with a var, but exposing a val could mean it nver changes, while it will