Android 判断字符串是否为空

TextUtils.isEmpty(str)   可以判断字符串是否为null或者"",当是的时候为true,否的时候为false
原文地址:https://www.cnblogs.com/yelanggu/p/9682203.html