判断字符串为空

if(TextUtils.isEmpty(item)){
    Toast.makeText(this,"为空", Toast.LENGTH_SHORT).show();
}
posted @ 2014-07-24 14:43  涵野  阅读(215)  评论(0)    收藏  举报