Java 8, a more elegant and less verbose version of the Java programming language, was released in early 2014. Until recently, though, Android app developers couldn't use it—there was no stable Java 8-based toolchain available. However, in version 3.0, Android Studio started supporting Java 8. Thanks to a seamless and transparent build process known as desugaring, developers can now confidently use most of Java 8's language features with minimal configuration changes in their projects!
In this short course, Envato Tuts+ instructor Ashraff Hathibelagal shows you how to add Java 8 to your Android Studio projects and upgrade your code to leverage all the new features and APIs that come with it. With the help of some simple examples, you'll learn how to create and use lambdas, method references, repeating annotations, streams, and more new constructs in your Android apps.