コード例 #1
0
 private void a(EditText var1, DeviceConfiguration var2) {
   if (var1.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) {
     var1.setText("");
     var2.setName("");
   } else {
     var1.setText(var2.getName());
   }
 }
コード例 #2
0
 private void m87a(EditText editText, DeviceConfiguration deviceConfiguration) {
   if (editText.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) {
     editText.setText(BuildConfig.VERSION_NAME);
     deviceConfiguration.setName(BuildConfig.VERSION_NAME);
     return;
   }
   editText.setText(deviceConfiguration.getName());
 }
コード例 #3
0
 public void afterTextChanged(Editable editable) {
   DeviceConfiguration deviceConfiguration =
       (DeviceConfiguration) EditServoControllerActivity.this.c.get(this.b - 1);
   String string = editable.toString();
   deviceConfiguration.setName(string);
 }