if(TextUtils.isEmpty(item)){
    Toast.makeText(this,"为空", Toast.LENGTH_SHORT).show();
}

相关文章: