https://kotlinlang.org logo
#announcements
Title
# announcements
v

Vlad

05/17/2018, 8:55 PM
I think the reasoning here is that you might lose the intended behaviour in "short" constructors, as your constructor will always call a 4 args version with the defaults. See
TextView
for example and how the "xml" 2 arg constructor sets the style when invoked. You will not benefit from this behaviour at all as you will call a 4 arg version no matter what.
👍 1