Commit 3fb023bfa3e6ccf099a7a5a5452f0cb8306c9691
1 parent
825a0b12
文案调整
Showing
11 changed files
with
21 additions
and
21 deletions
config.gradle
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/ChangeDeviceNamePresenter.java
| ... | ... | @@ -34,7 +34,7 @@ public class ChangeDeviceNamePresenter extends MvpBasePresenter<ChangeDeviceName |
| 34 | 34 | if (null == getView()) { |
| 35 | 35 | return; |
| 36 | 36 | } |
| 37 | - QMUITipDialogUtil.loadingDialog(context, "请稍后...", false); | |
| 37 | + QMUITipDialogUtil.loadingDialog(context, "请稍候...", false); | |
| 38 | 38 | Map<String, String> map = new HashMap<>(); |
| 39 | 39 | map.put("devId", deviceId); |
| 40 | 40 | map.put("newName", newName); | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/ChangeWifiFragmentPresenter.java
| ... | ... | @@ -33,7 +33,7 @@ public class ChangeWifiFragmentPresenter extends MvpBasePresenter<ChangeWifiFrag |
| 33 | 33 | if (null == getView()) { |
| 34 | 34 | return; |
| 35 | 35 | } |
| 36 | - QMUITipDialogUtil.loadingDialog(context, "请稍后...", false); | |
| 36 | + QMUITipDialogUtil.loadingDialog(context, "请稍候...", false); | |
| 37 | 37 | Map<String, String> map = new HashMap<>(); |
| 38 | 38 | map.put("devId", devId); |
| 39 | 39 | map.put("name", wifiName); | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/DeviceManagerFragmentPresenter.java
| ... | ... | @@ -30,7 +30,7 @@ public class DeviceManagerFragmentPresenter extends MvpBasePresenter<DeviceManag |
| 30 | 30 | if (null == getView()) { |
| 31 | 31 | return; |
| 32 | 32 | } |
| 33 | - QMUITipDialogUtil.loadingDialog(context, "请稍后", false); | |
| 33 | + QMUITipDialogUtil.loadingDialog(context, "请稍候", false); | |
| 34 | 34 | Map<String, String> map = new HashMap<>(); |
| 35 | 35 | map.put("devId", deviceId); |
| 36 | 36 | map.put("oldName", oldName); | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/SelectWifiFragmentPresenter.java
| ... | ... | @@ -97,11 +97,11 @@ public class SelectWifiFragmentPresenter extends MvpBasePresenter<SelectWifiFrag |
| 97 | 97 | // context.finish(); |
| 98 | 98 | // ConnBluetoothSuccessActivity.startActivity(context); |
| 99 | 99 | // } else { |
| 100 | -// AlertUtil.showDeftToast(context, "配网失败,请稍后重试"); | |
| 100 | +// AlertUtil.showDeftToast(context, "配网失败,请稍候重试"); | |
| 101 | 101 | // } |
| 102 | 102 | // } else { |
| 103 | 103 | // //响应失败 |
| 104 | -// AlertUtil.showDeftToast(context, "配网失败,请稍后重试"); | |
| 104 | +// AlertUtil.showDeftToast(context, "配网失败,请稍候重试"); | |
| 105 | 105 | // } |
| 106 | 106 | // } |
| 107 | 107 | // | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/SetFriendsRolePresenter.java
| ... | ... | @@ -64,11 +64,11 @@ public class SetFriendsRolePresenter extends MvpBasePresenter<SetFriendsRoleView |
| 64 | 64 | //// context.finish(); |
| 65 | 65 | //// ConnBluetoothSuccessActivity.startActivity(context); |
| 66 | 66 | //// } else { |
| 67 | -//// AlertUtil.showDeftToast(context, "配网失败,请稍后重试"); | |
| 67 | +//// AlertUtil.showDeftToast(context, "配网失败,请稍候重试"); | |
| 68 | 68 | //// } |
| 69 | 69 | //// } else { |
| 70 | 70 | //// //响应失败 |
| 71 | -//// AlertUtil.showDeftToast(context, "配网失败,请稍后重试"); | |
| 71 | +//// AlertUtil.showDeftToast(context, "配网失败,请稍候重试"); | |
| 72 | 72 | //// } |
| 73 | 73 | // } |
| 74 | 74 | // |
| ... | ... | @@ -92,7 +92,7 @@ public class SetFriendsRolePresenter extends MvpBasePresenter<SetFriendsRoleView |
| 92 | 92 | if (null == getView()) { |
| 93 | 93 | return; |
| 94 | 94 | } |
| 95 | - QMUITipDialogUtil.loadingDialog(context, "请稍后", true); | |
| 95 | + QMUITipDialogUtil.loadingDialog(context, "请稍候", true); | |
| 96 | 96 | Map<String, String> map = new HashMap<>(); |
| 97 | 97 | map.put("type", "2");//联系人邀请 |
| 98 | 98 | map.put("contactsInvite", contactsInvite); | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/UserManagerPresenter.java
| ... | ... | @@ -40,7 +40,7 @@ public class UserManagerPresenter extends MvpBasePresenter<UserManagerView> { |
| 40 | 40 | if (null == getView()) { |
| 41 | 41 | return; |
| 42 | 42 | } |
| 43 | - QMUITipDialogUtil.loadingDialog(context, "请稍后...", false); | |
| 43 | + QMUITipDialogUtil.loadingDialog(context, "请稍候...", false); | |
| 44 | 44 | Map<String, String> map = new HashMap<>(); |
| 45 | 45 | map.put("sid", sid); |
| 46 | 46 | map.put("familyId", familyId); |
| ... | ... | @@ -142,7 +142,7 @@ public class UserManagerPresenter extends MvpBasePresenter<UserManagerView> { |
| 142 | 142 | if (null == getView()) { |
| 143 | 143 | return; |
| 144 | 144 | } |
| 145 | - QMUITipDialogUtil.loadingDialog(context, "请稍后...", false); | |
| 145 | + QMUITipDialogUtil.loadingDialog(context, "请稍候...", false); | |
| 146 | 146 | Map<String, String> map = new HashMap<>(); |
| 147 | 147 | map.put("sids", sids); |
| 148 | 148 | map.put("familyId", familyId); | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/view/ChangeWifiFragmentView.java
| ... | ... | @@ -63,7 +63,7 @@ public class ChangeWifiFragmentView implements MvpView { |
| 63 | 63 | SSID = scanResult.SSID; |
| 64 | 64 | BSSID = scanResult.BSSID; |
| 65 | 65 | if (TextUtils.isEmpty(currentUser.getUserId()) || TextUtils.isEmpty(currentUser.getId())) { |
| 66 | - AlertUtil.showDeftToast(getContext(), "参数异常,请稍后重试!"); | |
| 66 | + AlertUtil.showDeftToast(getContext(), "参数异常,请稍候重试!"); | |
| 67 | 67 | return; |
| 68 | 68 | } |
| 69 | 69 | //判断是否需要输入密码 | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/view/SelectWifiFragmentView.java
| ... | ... | @@ -98,7 +98,7 @@ public class SelectWifiFragmentView implements MvpView { |
| 98 | 98 | String encryptionType = scanResult.capabilities; |
| 99 | 99 | SSID = scanResult.SSID; |
| 100 | 100 | if (TextUtils.isEmpty(cmccId) || TextUtils.isEmpty(familyId)) { |
| 101 | - AlertUtil.showDeftToast(getContext(), "参数异常,请稍后重试!"); | |
| 101 | + AlertUtil.showDeftToast(getContext(), "参数异常,请稍候重试!"); | |
| 102 | 102 | return; |
| 103 | 103 | } |
| 104 | 104 | //判断是否需要输入密码 |
| ... | ... | @@ -209,7 +209,7 @@ public class SelectWifiFragmentView implements MvpView { |
| 209 | 209 | if (null == getContext()) { |
| 210 | 210 | return; |
| 211 | 211 | } |
| 212 | - QMUITipDialogUtil.loadingDialog(getContext(), "配网中,请稍后...", false); | |
| 212 | + QMUITipDialogUtil.loadingDialog(getContext(), "配网中,请稍候...", false); | |
| 213 | 213 | |
| 214 | 214 | } |
| 215 | 215 | |
| ... | ... | @@ -217,7 +217,7 @@ public class SelectWifiFragmentView implements MvpView { |
| 217 | 217 | @Override |
| 218 | 218 | public void onConnectFail(BleDevice bleDevice, BleException exception) { |
| 219 | 219 | QMUITipDialogUtil.dismessDialog(); |
| 220 | - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍后重试"); | |
| 220 | + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍候重试"); | |
| 221 | 221 | EventBus.getDefault().post(new EventMsg(EventMsg.DEVICE_NOT_RESPONSE, "")); |
| 222 | 222 | } |
| 223 | 223 | |
| ... | ... | @@ -252,7 +252,7 @@ public class SelectWifiFragmentView implements MvpView { |
| 252 | 252 | @Override |
| 253 | 253 | public void onWriteFailure(BleException exception) { |
| 254 | 254 | Log.e(TAG, "onWriteFailure: "); |
| 255 | - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍后重试"); | |
| 255 | + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍候重试"); | |
| 256 | 256 | |
| 257 | 257 | } |
| 258 | 258 | }); |
| ... | ... | @@ -262,7 +262,7 @@ public class SelectWifiFragmentView implements MvpView { |
| 262 | 262 | @Override |
| 263 | 263 | public void onNotifyFailure(BleException exception) { |
| 264 | 264 | QMUITipDialogUtil.dismessDialog(); |
| 265 | - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍后重试"); | |
| 265 | + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍候重试"); | |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | 268 | @Override | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/ui/activity/BluetoothConnActivity.java
| ... | ... | @@ -188,7 +188,7 @@ public class BluetoothConnActivity extends AppCompatActivity { |
| 188 | 188 | } else { |
| 189 | 189 | // 开始搜索 |
| 190 | 190 | mBluetoothAdapter.startDiscovery(); |
| 191 | -// QMUITipDialogUtil.loadingDialog(this, "正在搜索蓝牙设备,请稍后...", false); | |
| 191 | +// QMUITipDialogUtil.loadingDialog(this, "正在搜索蓝牙设备,请稍候...", false); | |
| 192 | 192 | |
| 193 | 193 | } |
| 194 | 194 | |
| ... | ... | @@ -358,7 +358,7 @@ public class BluetoothConnActivity extends AppCompatActivity { |
| 358 | 358 | // if (progressDialog == null) { |
| 359 | 359 | // progressDialog = new ProgressDialog(BluetoothConnActivity.this); |
| 360 | 360 | // } |
| 361 | -// progressDialog.setMessage("正在配对中,请稍后!"); | |
| 361 | +// progressDialog.setMessage("正在配对中,请稍候!"); | |
| 362 | 362 | // progressDialog.show(); |
| 363 | 363 | break; |
| 364 | 364 | case BluetoothDevice.BOND_BONDED://配对结束 |
| ... | ... | @@ -401,7 +401,7 @@ public class BluetoothConnActivity extends AppCompatActivity { |
| 401 | 401 | switch (blueState) { |
| 402 | 402 | case BluetoothAdapter.STATE_TURNING_ON: |
| 403 | 403 | Log.e(TAG, "监听到蓝牙已开启"); |
| 404 | -// mdialog = LoadingUtil.dialog(BluetoothConnActivity.this, "正在开启蓝牙,请稍后...", false); | |
| 404 | +// mdialog = LoadingUtil.dialog(BluetoothConnActivity.this, "正在开启蓝牙,请稍候...", false); | |
| 405 | 405 | // mdialog.show(); |
| 406 | 406 | break; |
| 407 | 407 | case BluetoothAdapter.STATE_ON: | ... | ... |
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/ui/activity/RemoteControlActivity.java
| ... | ... | @@ -187,7 +187,7 @@ public class RemoteControlActivity extends AppCompatActivity { |
| 187 | 187 | * @param type |
| 188 | 188 | */ |
| 189 | 189 | public void setRemoteControlStatus(Context context, String sid, String type) { |
| 190 | - QMUITipDialogUtil.loadingDialog(context, "请稍后...", false); | |
| 190 | + QMUITipDialogUtil.loadingDialog(context, "请稍候...", false); | |
| 191 | 191 | Map<String, String> map = new HashMap<>(); |
| 192 | 192 | map.put("sid", sid); |
| 193 | 193 | map.put("type", type); | ... | ... |