本文整理了Java中android.app.ProgressDialog.hide()
方法的一些代码示例,展示了ProgressDialog.hide()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ProgressDialog.hide()
方法的具体详情如下:
包路径:android.app.ProgressDialog
类名称:ProgressDialog
方法名:hide
暂无
代码示例来源:origin: jdamcd/android-crop
@Override
public void onActivityStopped(MonitoredActivity activity) {
dialog.hide();
}
代码示例来源:origin: stackoverflow.com
protected void onPostExecute(String result) {
super.onPostExecute(result);
progressDialog.hide();
if(result!=null){
drawPath(result);
代码示例来源:origin: multidots/android-app-common-tasks
@Override
public void onActivityStopped(MonitoredActivity activity) {
mDialog.hide();
}
代码示例来源:origin: multidots/android-app-common-tasks
@Override
public void onActivityStopped(MonitoredActivity activity) {
mDialog.hide();
}
代码示例来源:origin: mayubao/KuaiChuan
/**
* 隐藏对话框
*/
protected void hideProgressDialog(){
if(mProgressDialog != null && mProgressDialog.isShowing()){
mProgressDialog.hide();
mProgressDialog = null;
}
}
代码示例来源:origin: ukanth/afwall
public void handleMessage(Message msg) {
int action = msg.getData().getInt(ACTION);
String text = msg.getData().getString(TEXT);
switch (action) {
case ACTION_SHOW:
mPDialog.show();
mPDialog.setMessage("Running Root Library Tests...");
break;
case ACTION_HIDE:
if (null != text) {
print(text);
}
mPDialog.hide();
break;
case ACTION_DISPLAY:
print(text);
break;
case ACTION_PDISPLAY:
mPDialog.setMessage(text);
break;
}
}
}
代码示例来源:origin: ukanth/afwall
public void handleMessage(Message msg)
{
int action = msg.getData().getInt(ACTION);
String text = msg.getData().getString(TEXT);
switch (action)
{
case ACTION_SHOW:
mPDialog.show();
mPDialog.setMessage("Running Root Library Tests...");
break;
case ACTION_HIDE:
if (null != text)
{ print(text); }
mPDialog.hide();
break;
case ACTION_DISPLAY:
print(text);
break;
case ACTION_PDISPLAY:
mPDialog.setMessage(text);
break;
}
}
}
代码示例来源:origin: Stericson/RootTools
public void handleMessage(Message msg) {
int action = msg.getData().getInt(ACTION);
String text = msg.getData().getString(TEXT);
switch (action) {
case ACTION_SHOW:
mPDialog.show();
mPDialog.setMessage("Running Root Library Tests...");
break;
case ACTION_HIDE:
if (null != text) {
print(text);
}
mPDialog.hide();
break;
case ACTION_DISPLAY:
print(text);
break;
case ACTION_PDISPLAY:
mPDialog.setMessage(text);
break;
}
}
}
代码示例来源:origin: alidili/Demos
@Override
public void hideProgressDialog() {
progressDialog.hide();
}
代码示例来源:origin: gdutxiaoxu/CoordinatorLayoutExample
/**
* 隐藏菊花
*/
public void hideProgressDialog() {
if (dialog != null) {
dialog.hide();
}
}
代码示例来源:origin: UdacityAndroidDevScholarship/gis-2k18
/**
* This Function Will Hide The Progress Dialog
*/
private void hideProgress(){
mProgressDialog.hide();
}
代码示例来源:origin: openMF/mobile-wallet
@Override
public void hideProgressDialog() {
if (progressDialog != null) {
progressDialog.hide();
}
}
代码示例来源:origin: behindeye/WxPhoneNumberHelper
@Override
public void run() {
if (mDialog.isShowing()) {
mDialog.hide();
}
}
});
代码示例来源:origin: mmazzarolo/easy-bookmarks
/**
* FirebaseFragment.Callbacks implementation
*/
@Override
public void onAuthenticated(AuthData authData) {
invalidateOptionsMenu();
mAuthProgressDialog.hide();
}
代码示例来源:origin: ABTSoftware/SciChart.Android.Examples
private void hideProgressBar() {
if (progress != null && progress.isShowing()) {
progress.hide();
}
}
代码示例来源:origin: Null-Ouwenjie/zhizhihu
public void hideProgress() {
if (progressDialog == null) {
return;
}
if (progressDialog.isShowing()) {
progressDialog.hide();
}
}
}
代码示例来源:origin: googlearchive/androidpay-quickstart
private void hideProgressDialog() {
if (mProgressDialog != null && mProgressDialog.isShowing()) {
mProgressDialog.hide();
}
}
}
代码示例来源:origin: martykan/forecastie
@Override
public void onLocationChanged(Location location) {
progressDialog.hide();
try {
locationManager.removeUpdates(this);
} catch (SecurityException e) {
Log.e("LocationManager", "Error while trying to stop listening for location updates. This is probably a permissions issue", e);
}
Log.i("LOCATION (" + location.getProvider().toUpperCase() + ")", location.getLatitude() + ", " + location.getLongitude());
double latitude = location.getLatitude();
double longitude = location.getLongitude();
new ProvideCityNameTask(this, this, progressDialog).execute("coords", Double.toString(latitude), Double.toString(longitude));
}
代码示例来源:origin: mmazzarolo/easy-bookmarks
private void processFirebaseLogin() {
mAuthProgressDialog = new ProgressDialog(this);
mAuthProgressDialog.setTitle(mStringDialogTitle);
mAuthProgressDialog.setMessage(mStringDialogText);
mAuthProgressDialog.setCancelable(false);
mAuthProgressDialog.show();
if (!mFirebaseFragment.isAuthenticated()) {
mFirebaseFragment.authenticate("google", mAuthToken);
} else {
mAuthProgressDialog.hide();
}
}
代码示例来源:origin: mmazzarolo/easy-bookmarks
@Override
public void onAuthenticationError(FirebaseError error) {
invalidateOptionsMenu();
mAuthProgressDialog.hide();
showErrorDialog(error.getMessage());
}
内容来源于网络,如有侵权,请联系作者删除!