I have an Activity
with 3 EditText
s and a custom view which acts a specialised keyboard to add information into the EditText
s.
Currently I'm passing the Activity
into the view so that I can get the currently focused edit text and update the contents from the custom keyboard.
Is there a way of referencing the parent activity and getting the currently focused EditText
without passing the activity into the view?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…