Kotlin

Use Voice Search to integrate with Google Now

One of the awesome things about Android is the ability we have to integrate our apps into the ecosystem in many different ways. Apps can talk among each others, and this fact gives us an impressive flexibility to create unique experiences. Integrations with Google are a clear example. We have a bunch of different features that can …

Use Voice Search to integrate with Google Now Read More »

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 »