Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a relatively medium implementation of a layout in anko here: https://github.com/burntcookie90/KotMeh/blob/master/app/src/...

I'm not sold on using it as a layout DSL, it's just not as easy to format as XML, and I don't think it looks syntactically that much better. However, I am sold on using anko as replacement for setters and getters (ie. `setText("test")` is just `.text = "test"`). Additionally, it's incredibly easy to add more extensions for other view types, like `RecyclerView` and custom layouts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: