<@U4SMZ6A9E> commented on <@U5GHJB9S6>’s file <htt...
# android
u
@voghdev commented on @charlae4ive’s file https://kotlinlang.slack.com/files/U5GHJB9S6/F5Z6H709W/magic_from_kotlin_so_cool.kt: this code can still be optimized so much in kotlin, many of the lines are repetitive,
anko
has extension functions that shorten many of the methods you use. all findViewById can be removed string concatenations are much easier with ${} startActivity is a single line the handler.postDelayed() thing can be reduced using a lambda and much more. I would have a look at mechanisms to make the code look elegant 🙂 enjoy kotlin m8!