String str=pinglun_topic.getText().toString().trim();
if (TextUtils.isEmpty(str)) {
Toast.makeText(TopicDetailActivity.this, “请输入内容”, 1000).show();
}

更多相关文章

  1. android webview处理下载内容
  2. android Edittext内容字体大小动态变化
  3. Android调用浏览器打开网页内容
  4. Android 使用内容解析者往短信数据库里插入一条数据
  5. Android 采用Pull解析XML内容 【学习记录】
  6. android RecyclerView 设置设置选中的一行的内容
  7. 2015年11月广师android群内容分享
  8. Android: 打印Bundle内容

随机推荐

  1. Android从摄像头或相册中获取照片
  2. Android 汉字转拼音
  3. 获取android源代码
  4. android Alertdialog.Bulider简单使用
  5. [Android]Android achartengine统计图
  6. SDK Platform Tools component is missin
  7. Android四大布局
  8. android视频播放库
  9. XML Drawable
  10. eclipse中查看Android SDK源代码