android.widget.ExpandableListView.setVisibility()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(127)

本文整理了Java中android.widget.ExpandableListView.setVisibility()方法的一些代码示例,展示了ExpandableListView.setVisibility()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExpandableListView.setVisibility()方法的具体详情如下:
包路径:android.widget.ExpandableListView
类名称:ExpandableListView
方法名:setVisibility

ExpandableListView.setVisibility介绍

暂无

代码示例

代码示例来源:origin: calvinaquino/LNReader-Android

private void toggleProgressBar(boolean show) {
  if (show) {
    loadingText.setText("Loading List, please wait...");
    loadingText.setVisibility(TextView.VISIBLE);
    loadingBar.setVisibility(ProgressBar.VISIBLE);
    expandList.setVisibility(ListView.GONE);
  } else {
    loadingText.setVisibility(TextView.GONE);
    loadingBar.setVisibility(ProgressBar.GONE);
    expandList.setVisibility(ListView.VISIBLE);
  }
}

代码示例来源:origin: louisgeek/LouisShopCart

private void setupViewsShow(boolean isHasGoods) {
  if (isHasGoods) {
    expandableListView.setVisibility(View.VISIBLE);
    id_rl_cart_is_empty.setVisibility(View.GONE);
    id_rl_foot.setVisibility(View.VISIBLE);
    id_tv_edit_all.setVisibility(View.VISIBLE);
  } else {
    expandableListView.setVisibility(View.GONE);
    id_rl_cart_is_empty.setVisibility(View.VISIBLE);
    id_rl_foot.setVisibility(View.GONE);
    id_tv_edit_all.setVisibility(View.GONE);
  }
}

代码示例来源:origin: codeka/wwmmo

public void showStarfield(boolean visible) {
 if (visible) {
  listView.setVisibility(View.GONE);
  setBackground(null);
 } else {
  listView.setVisibility(View.VISIBLE);
  setBackgroundResource(R.color.default_background);
 }
}

代码示例来源:origin: stackoverflow.com

case 1:
  list = DBAdpter.requestUserData(assosiatetoken);
  exlistView.setVisibility(View.GONE);
  Collections.sort(list, byDate);
  for (int i = 0; i < list.size(); i++) {
case 2:
  list = DBAdpter.requestUserData(assosiatetoken);
  exlistView.setVisibility(View.GONE);
  Collections.sort(list, byDate3);

相关文章

ExpandableListView类方法