stateless fun bar() // abstract fun foo() {} } class Child : MyTrait{ fun bar(){} } • Trait attributes can be overridden • Trait can access class' attribute without declaring it in trait itself
call Kotlin stuff (may have magic name added) ◦ Kotlin can call Java stuff (non-primitive data type are platform type -- as safe as in Java) • Runtime size 884kB (ProGuard remove most of this) • Install as Android Studio plugin ◦ Automatically configure gradle