【问题标题】:Sql listview Button FunctionSql listview按钮功能
【发布时间】:2014-08-13 09:40:00
【问题描述】:

嗨,我正在开始使用 android 开发 android。我在 TODO 培训应用中开发了现在我对如何删除列表视图行项目中的按钮有一个疑问,请帮助我。

【问题讨论】:

  • 您的问题不清楚。请详细说明。
  • 列表视图里面的删除按钮功能@SoftCoder
  • 您想删除列表视图中的按钮吗?或者您想通过删除按钮删除列表视图中的项目?
  • 是的,我想删除列表视图中的按钮@SoftCoder

标签: android listview row android-sqlite


【解决方案1】:

试试这个:

Button button;
button = (Button)this.findViewById (R.id.yourbuttonid );
//***
button.setVisibility(View.INVISIBLE);

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-07-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-08-22
    • 2018-04-30
    • 2018-08-15
    相关资源
    最近更新 更多