Android 判断字符串是否为空

TextUtils.isEmpty(str)   可以判断字符串是否为null或者"",当是的时候为true,否的时候为false

 程序猿必读

原文地址:https://www.cnblogs.com/longzhongren/p/6249957.html