4 ms·
> There aren't even any plans to support lambdas and Java 8. https://android-review.googlesource.com/#/c/150214/ https://android-review.googlesource.com/#/c/1
by myko 11y ago
> There aren't even any plans to support lambdas and Java 8.
https://android-review.googlesource.com/#/c/150214/ https://android-review.googlesource.com/#/c/150214/
Looks like there is someone at Google working on lambda support.
- jophde 11y agoMaybe but this won't ship until at least M so if you min SDK is even as new as KitKat it won't help you much. Kotlin gives you lambdas, named parameters, extension functions (like C#), data classes, first class null, and more today on all versions of Android.
- jordanthoms 11y agoI think that most of the Java 8 features will be implemented in Jack, the new compiler they are working on (which is likely why the current toolchain has not seen much improvements). Most of them shouldn't need bytecode level changes. That said Kotlin looks awesome and I'll definitely be considering it for my next Android project.