Kotlin / anko-example

A small application built with Anko DSL
https://github.com/JetBrains/anko
Apache License 2.0
284 stars 64 forks source link

Can you explain these two lines? #3

Closed desertjim closed 7 years ago

desertjim commented 8 years ago

https://github.com/yanex/anko-example/blob/master/app/src/main/java/org/example/ankodemo/RichView.kt#L63-L64

I tried reading the anko docs but there is a lot going on there. Thanks!

NeverwinterMoon commented 7 years ago

@desertjim This is explained here: https://github.com/Kotlin/anko/blob/master/doc/ADVANCED.md#user-content-extending-anko and here: https://github.com/Kotlin/anko#user-content-is-it-extensible

yanex commented 7 years ago

Updated link: https://github.com/Kotlin/anko/wiki/Anko-Layouts#is-it-extensible.