feat: refs #7763 rename
This commit is contained in:
parent
746972d226
commit
e77aae4826
|
@ -1050,33 +1050,33 @@ class UbicadorFragmentNew : BaseFragment<FragmentUbicadorBinding, UbicadorViewMo
|
||||||
}
|
}
|
||||||
customDialogConfirm.show()
|
customDialogConfirm.show()
|
||||||
}//Tarea 7763
|
}//Tarea 7763
|
||||||
|
/*
|
||||||
|
.setOkButtonThree(getString(R.string.rename)) {
|
||||||
|
customDialogInput.setTitle(getString(R.string.itemNew))
|
||||||
|
.setDescription(getString(R.string.scanItem)).setValue("")
|
||||||
|
.setOkButton(getString(R.string.rename)) {
|
||||||
|
|
||||||
/* .setOkButtonThree(getString(R.string.rename)) {
|
actionRename(item, customDialogInput.getValue())
|
||||||
customDialogInput.setTitle(getString(R.string.itemNew))
|
|
||||||
.setDescription(getString(R.string.scanItem)).setValue("")
|
|
||||||
.setOkButton(getString(R.string.rename)) {
|
|
||||||
|
|
||||||
actionRename(item, customDialogInput.getValue())
|
}.setKoButton(getString(R.string.cancel)) {
|
||||||
|
customDialogInput.dismiss()
|
||||||
|
customDialogTwoButtons.dismiss()
|
||||||
|
}.show()
|
||||||
|
customDialogInput.getEditText().setOnEditorActionListener { _, actionId, _ ->
|
||||||
|
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) {
|
||||||
|
|
||||||
}.setKoButton(getString(R.string.cancel)) {
|
actionRename(item, customDialogInput.getValue())
|
||||||
customDialogInput.dismiss()
|
return@setOnEditorActionListener true
|
||||||
customDialogTwoButtons.dismiss()
|
}
|
||||||
}.show()
|
false
|
||||||
customDialogInput.getEditText().setOnEditorActionListener { _, actionId, _ ->
|
}
|
||||||
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) {
|
customDialogInput.getEditText().requestFocus()
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
customDialogTwoButtons.setKoButton(getString(R.string.cancel)) {
|
||||||
|
customDialogTwoButtons.dismiss()
|
||||||
|
}
|
||||||
|
|
||||||
actionRename(item, customDialogInput.getValue())
|
|
||||||
return@setOnEditorActionListener true
|
|
||||||
}
|
|
||||||
false
|
|
||||||
}
|
|
||||||
customDialogInput.getEditText().requestFocus()
|
|
||||||
}
|
|
||||||
|
|
||||||
customDialogTwoButtons.setKoButton(getString(R.string.cancel)) {
|
|
||||||
customDialogTwoButtons.dismiss()
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
customDialogTwoButtons.show()
|
customDialogTwoButtons.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue