public static boolean isEmpty(CharSequence str) {

        return (str == null || str.length() == 0);
    }
is null or its length is 0
<p/>
<pre>
isEmpty(null) = true;
isEmpty(&quot;&quot;) = true;
isEmpty(&quot;  &quot;) = false;
</pre>

@param str str
@return if string is null or its size is 0, return true, else return
false.
app/src/main/java/coder/prettygirls/util/StringUtil.java