Get outer class this pointer from inner class #2632
Unanswered
lyf-is-coding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I already hooked onTextChanged. I want to access MainActivity's q member inside it.
My way is
this.this$0.q.getText().toString()
but this$0 is always undefined for me. Anyone has any idea?Beta Was this translation helpful? Give feedback.
All reactions