https://kotlinlang.org logo
#random
Title
k

kevinmost

12/08/2016, 8:59 PM
there have been talks about having overloaded setters on properties, which would be really really useful IMO
Copy code
class Div {
  var texts: List<String> = emptyList()
    set(value: List<String>)
    set(value: String) = set(listOf(value))
}