top | item 17137738

(no title)

cmurdock | 7 years ago

I think the big use-case is on Android where you're stuck with Java 7 and therefore can't use lambdas.

discuss

order

dlubarov|7 years ago

That used to be the case, but the build tools have supported lambdas for a while now, and it works even on very old devices.

On the other hand, Java 8 classes like java.util.Stream only exist on API 24+ devices. So if you want to support older classes, you can't use the standard stream library.

cmurdock|7 years ago

Ah interesting. Thanks for the info.