how to replace anonymous with lambda in java

前端 未结 5 993
别跟我提以往
别跟我提以往 2021-01-31 01:32

I\'ve got this code but IntelliJ tells me to replace anonymous with lambda but I don\'t know how. can anyone help me with this? Here is my code:

soundVolume.valu         


        
5条回答
  •  孤独总比滥情好
    2021-01-31 02:11

    You can just right click on the element that gives you the warning, wait until the yellow balloon appears and choose, (replace with Lambda) and Android Studio will do it automatically.

提交回复
热议问题