I have a situation where user will enter either email or phone number for login into app,only one edittext is provided , like in paytm
I need to detect which is entered either email or phone no so that i can set my server correctly how can i detect what user has entered number or email