I use retrolambda in my project, it works great. but today when i used it, Android Studio give me a tip:
I haven't seen this before, how I need to modify the code in order to meet this tip.
The return
statement is not needed for single-line expressions, so it's telling you that it's safe to delete (hence why return is grayed out). For example, you can refactor that to:
player.setOnErrorListner((mp, what, extra) -> true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With