Development

Functional Android (II): Collection operations in Kotlin

Lambdas are a great powerful tool to simplify code, but also to do things that were not possible before. We talked about them in the [first part of the series](Unleash functional power on Android (I): Kotlin lambdas). In the end, lambdas are the basis to implement lots of functional features, such as the ones we …

Functional Android (II): Collection operations in Kotlin Read More »

Unleash functional power on Android (I): Kotlin lambdas

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 Programming in modern languages Functional …

Unleash functional power on Android (I): Kotlin lambdas Read More »

Functional operations over Views in ViewGroup using Kotlin

Collections, iterators, arrays, sequences… all share a good set of useful functions that help do transformations, sortings and other kind of operations over their items. But there are parts in Android SDK where this is not available due to the way the classes are constructed. For instance, we can’t directly get a list of the …

Functional operations over Views in ViewGroup using Kotlin Read More »