{"version":"20150408","show_thumbnails":true,"show_date":true,"show_context":true,"layout":"grid","headline":"Related","items":[{"id":25478,"url":"https:\/\/antonioleiva.com\/lambdas-kotlin\/","url_meta":{"origin":1143,"position":0},"title":"Lambdas in Kotlin, and how they simplify Android development (KAD 07)","date":"January 5, 2017","format":false,"excerpt":"Lambdas are one of the most powerful tools in Kotlin, and in any other modern language, since it allows modelling functions in a much simpler way. The only way we can do this in Java 6 is by declaring interfaces with a single method, and creating anonymous objects that implement\u2026","rel":"nofollow","context":"In \"Blog\"","img":{"src":"https:\/\/i2.wp.com\/antonioleiva.com\/wp-content\/uploads\/2017\/01\/lambdas-kotlin.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":26289,"url":"https:\/\/antonioleiva.com\/listeners-several-functions-kotlin\/","url_meta":{"origin":1143,"position":1},"title":"Listeners with several functions in Kotlin. How to make them shine?","date":"December 6, 2017","format":false,"excerpt":"One question I get often is how to simplify the interaction with listeners that have several functions on Kotlin. For listeners (or any interfaces) with a single function is simple: it automatically lets you replace it by a lambda. But that's not the case for listeners with several functions. So\u2026","rel":"nofollow","context":"In \"Blog\"","img":{"src":"https:\/\/i2.wp.com\/antonioleiva.com\/wp-content\/uploads\/2017\/12\/listener-several-functions.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":766,"url":"https:\/\/antonioleiva.com\/functional-programming-android-kotlin-lambdas\/","url_meta":{"origin":1143,"position":2},"title":"Unleash functional power on Android (I): Kotlin lambdas","date":"September 1, 2015","format":false,"excerpt":"The functional programming can be a really powerful tool when used properly, and though Java 8 includes some functional tools, as you can imagine Android Developers won't be able to use it very soon (or even never). So many alternative languages are starting to emerge to solve this problem. Functional\u2026","rel":"nofollow","context":"In \"Blog\"","img":{"src":"https:\/\/i0.wp.com\/antonioleiva.com\/wp-content\/uploads\/2015\/09\/lambda.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}]}