Hacker News new | ask | show | jobs
by vesinisa 3331 days ago
That targets only Android 7 and above (and even then a subset of the features). If I understand correctly, this actually allows you to target any Android version at or above SDK 15 (Android 4.0.3), because it monkey patches your code to replace part of the standard library with external libraries. Then, when you decide to deprecate Android 6 support one day, you should be able to smoothly transition to fully native Java 8.
1 comments

According to this table: https://developer.android.com/studio/preview/features/java8-...

you can use Lambda expressions and Method References with any Android version... but without Java 8 libraries...