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

 程序猿必读

posted on 2017-01-04 19:17  龙种人  阅读(20197)  评论(0)    收藏  举报