Android Police

Articles Tagged:

lambdas

23

Android Studio v2.1 Released To Stable Channel With Support For Android N, Java 8 Language Features, And More

With last month's release of the Android N Preview, the Tools team launched a preview release of Android Studio 2.1. Not only did the new version add support for the N Preview SDK, but it also brought a few important important and welcomed additions, including adoption and support for many of the language features in Java 8, a semi-official switch to the Jack compiler, an updated New Project wizard, and further improvements to the new and faster Android Emulator. As of today, Android Studio 2.1 has been promoted to Stable and is available to all developers.

The biggest advantage of updating and switching to the Jack compiler, aside from playing with new Android N APIs like Launcher Shortcuts, is probably the addition of Lambda Expressions.

Read More
31

Android N Feature Spotlight: Jack Compiler Gains Support For Many Java 8 Language Features Including Lambdas, Streams, Functional Interfaces, And More

Developers have plenty of great new APIs and features coming with Android N, but perhaps the best thing to look forward to is at the language level itself. Starting with the preview SDK due out today, some of the language features of Java 8 will be supported by the Jack compiler. This will bring things like support for lambdas, default and static methods, streams, and functional interfaces. Google is also declaring that the Jack compiler will also be able to remain more up-to-date with Java language features in the future.

One of the top requests from developers over the last few years has been for a more rapid uptake of new language features for Java, many of which would allow for more efficient use of development time and ultimately easier to read code.

Read More