Hacker News new | ask | show | jobs
by sparky_ 3758 days ago
So this is just another way to blow up your dex method count?
1 comments

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.