Android 判断字符串是否为空

TextUtils.isEmpty(str)   可以判断字符串是否为null或者"",当是的时候为true,否的时候为false
posted @ 2018-09-20 17:36  野狼谷  阅读(3902)  评论(0编辑  收藏  举报