Read 2 comments in the following code.
public class Field extends LinearLayout { public void init() { setOnFocusChangeListener(new OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) {
Is it possible? Is there a keyword for accessing the main class object from a function inside the object?
source share