Hacker News new | ask | show | jobs
by gleenn 3517 days ago
Android and Oracle's Java have been diverged for quite a while. There aren't any Java 8 features available to Android now, so you sadly shouldn't hold your breath for any Java 9 features either, it will probably be a long, long time.
1 comments

>>There aren't any Java 8 features available to Android now

that is incorrect. https://developer.android.com/guide/platform/j8-jack.html

Just plopped this into my activity to make sure: someList.stream().map(String::toUpperCase).forEach(System.out::println);

As long as minSdkVersion is 24 or higher you should be good.

Except it doesn't work and is full of bugs.

https://www.reddit.com/r/androiddev/comments/59gcr9/who_is_u...