In my trying AsyncTask I get email address from my server. In onPostExecute() I have to check is email address empty or null
AsyncTask
onPostExecute()
empty
null
From @Jon Skeet comment, really the String value is "null". Following code solved it
String
"null"
if (userEmail != null && !userEmail.isEmpty() && !userEmail.equals("null"))