4 ms·
I don't get it. How does Kotlin actually solve Android's fragment/activity issues?
by newsat13 9y ago
I don't get it. How does Kotlin actually solve Android's fragment/activity issues?
- smichel17 9y agoIt doesn't, but it eases a lot of frustration in other areas, which makes fragments slightly more bearable. The standard library[0] functions `apply` and `run` are really nice with builders. When I converted Red Moon[1] from Java to Kotlin (no functionality changes), the code base shrunk by around 1/6. [0]: http://beust.com/weblog/2015/10/30/exploring-the-kotlin-standard-library/ http://beust.com/weblog/2015/10/30/exploring-the-kotlin-stan... [1]: https://github.com/raatmarien/red-moon https://github.com/raatmarien/red-moon