Hacker News new | ask | show | jobs
by EddieRingle 3758 days ago
In fact, they've implemented lambdas exactly like retrolambda does via anonymous classes.
1 comments

So this is just another way to blow up your dex method count?
disclaimer: I work on Android dev tools

It depends. For example, let's compare providing an event listener via a lambda vs an anonymous inner class. Using the lambda will increase your method count by 1. However, if you're accessing class member variables, it will reduce the method count for each variable you use, because it's added as a method of the containing class and doesn't need to generate accessors.