Sud
Sud

Reputation: 23

Problem regarding Edit Text Boxes focus change ( Seen other questions .. they exactly rnt helping )

I have total of 9 Edit text boxes now i have implemented on focuschangelistener on each one of them. But now while moving through the boxes i want to pick up the id othe Edit Text Box on which the pointer is currently present.

The focuschangelistener works only when the focus is shifted .. now suppose cursor is poiniting at the sixth box .. so i want a API which could tell me me at the background that which Box is currently in use.

Upvotes: 1

Views: 579

Answers (1)

Karan
Karan

Reputation: 12782

Check getCurrentFocus() method in Activity.

Upvotes: 2

Related Questions