@Override
            public boolean onMenuItemClick(MenuItem item) {
                String curValue = editText.getText().toString();
                if (!TextUtils.equals(curValue, data)) {
                    notifyResult(curValue);
                } else {
                    Utils.toast(R.string.pd_no_change);
                }
                return true;
            }
Created by linjiang on 03/06/2018.

PARAM1: Default content
PARAM2: only allow number or not
PARAM3: Quick input options
PARAM4: if can edit
pandora-core/src/main/java/tech/linjiang/pandora/ui/fragment/EditFragment.java