An android.widget.EditText can get focus by 2 reasons as I know:
Case 1. End-users touch on the edit text by purpose.
Case 2. The system give the Edit Text automatically.
- Navigation
- First default focus
- ...
My question is: How to I detect Case 2 ONLY? ( Event listener?)
The reason I want to detect case 2 is: I want to set current position is the last position IF the edit text get focus by Case 2.
EditText.setOnFocusChangeListener is for both case1, case2 so It seems that I can't use this.
Thank you!