“'this' is not available” in debug windows of Android Studio

前端 未结 6 1274
梦如初夏
梦如初夏 2020-12-10 10:23

I get this message in debug windows in Android Studio. This is not a static method, nor is it a class. What does it mean?

6条回答
  •  生来不讨喜
    2020-12-10 10:54

    Inside Lambda expressions we can't evaluate the value of variables. Changing from the lambda expression to normal expression solved my issue

提交回复
热议问题