我说的是 Android Studio 中的调试。是否可以在 retrolambda 代码中访问外部类变量?
例如:
MyActivity extends Activity {
MyObject mObject;
View mView;
...
mView.setOnClickListener(view -> {
...
//here in debug I can't see mObject: "this" is not available
mObject.myMethod();
...
});
...
}