标签:weight ace dismiss else ast password msu context pre
1、延迟方法
Message msg = new Message();
msg.what = 0x111;
// netWorkHandler.sendMessage(msg);
//延迟方法三
netWorkHandler.sendMessageDelayed(msg,1000);
Handler netWorkHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
pDialog.dismiss();
if (msg.what == 0x111) {
saveOrUpdateDefaultFrameCodeLanWiFi();
}else if (msg.what == 0x222) {
ToastUtil.showToast(mContext, getResources().getString(R.string.my_toast_wifi_password_wrong));
}
}
};
Handler相关
标签:weight ace dismiss else ast password msu context pre
原文地址:https://www.cnblogs.com/SharkBin/p/8970710.html