Android Question event EditText on leave

basicuser27

Member
Licensed User
Longtime User
Good $localtime,

is there any event triggered on EditText leave ?

or should I check the values for examples isstring , isnumeric on activity_resume ?

Thanks
Regards
 

mangojack

Expert
Licensed User
Longtime User
this might work ..

B4X:
Sub EditText1_FocusChanged (HasFocus As Boolean)
   If HasFocus = False Then
     Log("EditText1 has lost focus")
     'test edittext1 contents
   End If
End Sub
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Upvote 0
Top