android.app.Activity.setProgressBarIndeterminateVisibility()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(257)

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

Activity.setProgressBarIndeterminateVisibility介绍

暂无

代码示例

代码示例来源:origin: android10/Android-CleanArchitecture

@Override public void hideLoading() {
 this.rl_progress.setVisibility(View.GONE);
 this.getActivity().setProgressBarIndeterminateVisibility(false);
}

代码示例来源:origin: android10/Android-CleanArchitecture

@Override public void hideLoading() {
 this.rl_progress.setVisibility(View.GONE);
 this.getActivity().setProgressBarIndeterminateVisibility(false);
}

代码示例来源:origin: android10/Android-CleanArchitecture

@Override public void showLoading() {
 this.rl_progress.setVisibility(View.VISIBLE);
 this.getActivity().setProgressBarIndeterminateVisibility(true);
}

代码示例来源:origin: android10/Android-CleanArchitecture

@Override public void showLoading() {
 this.rl_progress.setVisibility(View.VISIBLE);
 this.getActivity().setProgressBarIndeterminateVisibility(true);
}

代码示例来源:origin: androidquery/androidquery

act.setProgressBarIndeterminateVisibility(false);
act.setProgressBarVisibility(false);

代码示例来源:origin: androidquery/androidquery

public void show(String url){
  
  reset();
  
  if(pd != null){
    AQuery aq = new AQuery(pd.getContext());			
    aq.show(pd);
  }
  
  if(act != null){
    act.setProgressBarIndeterminateVisibility(true);
    act.setProgressBarVisibility(true);
  }
  
  if(pb != null){
    pb.setTag(AQuery.TAG_URL, url);
    pb.setVisibility(View.VISIBLE);
  }
  
  if(view != null){
    view.setTag(AQuery.TAG_URL, url);
    view.setVisibility(View.VISIBLE);
  }
  
}

代码示例来源:origin: androidquery/androidquery

act.setProgressBarIndeterminateVisibility(show);
act.setProgressBarVisibility(show);

代码示例来源:origin: androidquery/androidquery

act.setProgressBarIndeterminateVisibility(show);
act.setProgressBarVisibility(show);

代码示例来源:origin: com.actionbarsherlock/actionbarsherlock

@Override
public void setProgressBarIndeterminateVisibility(boolean visible) {
  if (ActionBarSherlock.DEBUG) Log.d(TAG, "[setProgressBarIndeterminateVisibility] visible: " + visible);
  mActivity.setProgressBarIndeterminateVisibility(visible);
}

代码示例来源:origin: com.willowtreeapps/oak-demos

@Override
public void setProgressBarIndeterminateVisibility(boolean visible) {
  if (DEBUG) Log.d(TAG, "[setProgressBarIndeterminateVisibility] visible: " + visible);
  mActivity.setProgressBarIndeterminateVisibility(visible);
}

代码示例来源:origin: com.uphyca/android-junit4-robolectric

/**
 * @param visible
 * @see android.app.Activity#setProgressBarIndeterminateVisibility(boolean)
 */
public final void setProgressBarIndeterminateVisibility(boolean visible) {
  mActivity.setProgressBarIndeterminateVisibility(visible);
}

代码示例来源:origin: grzegorznittner/chanu

@Override
  public void run() {
    mActivity.setProgressBarIndeterminateVisibility(mVisible);
  }
}

代码示例来源:origin: grzegorznittner/chanu

public boolean createOptionsMenu(Menu menu) {
  if (!mStack.isEmpty()) {
    ((Activity) mContext).setProgressBarIndeterminateVisibility(false);
    return getTopState().onCreateActionBar(menu);
  } else {
    return false;
  }
}

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

activity.setProgressBarIndeterminateVisibility(false);
 mWvUrl = (WebView) findViewById(R.id.wv_url);
     EditText etUrl = (EditText) findViewById(R.id.et_url);
     mWvUrl.loadUrl(etUrl.getText().toString());
     activity.setProgressBarIndeterminateVisibility(true);
      activity.setProgressBarIndeterminateVisibility(false);

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

activity.setProgressBarIndeterminateVisibility(false);
 mWvUrl = (WebView) findViewById(R.id.wv_url);
     EditText etUrl = (EditText) findViewById(R.id.et_url);
     mWvUrl.loadUrl(etUrl.getText().toString());
     activity.setProgressBarIndeterminateVisibility(true);
      activity.setProgressBarIndeterminateVisibility(false);

代码示例来源:origin: com.googlecode.android-query/android-query

act.setProgressBarIndeterminateVisibility(false);
act.setProgressBarVisibility(false);

代码示例来源:origin: com.googlecode.android-query/android-query

public void show(String url){
  
  reset();
  
  if(pd != null){
    AQuery aq = new AQuery(pd.getContext());			
    aq.show(pd);
  }
  
  if(act != null){
    act.setProgressBarIndeterminateVisibility(true);
    act.setProgressBarVisibility(true);
  }
  
  if(pb != null){
    pb.setTag(AQuery.TAG_URL, url);
    pb.setVisibility(View.VISIBLE);
  }
  
  if(view != null){
    view.setTag(AQuery.TAG_URL, url);
    view.setVisibility(View.VISIBLE);
  }
  
}

代码示例来源:origin: com.googlecode.android-query/android-query

act.setProgressBarIndeterminateVisibility(show);
act.setProgressBarVisibility(show);

代码示例来源:origin: com.googlecode.android-query/android-query

act.setProgressBarIndeterminateVisibility(show);
act.setProgressBarVisibility(show);

相关文章

Activity类方法