修改设备信息
This commit is contained in:
@@ -478,16 +478,21 @@ public abstract class BaseActivity<T extends ViewBinding, P extends IPresenter>
|
||||
*
|
||||
* @param title 标题
|
||||
* @param hint 提示内容2
|
||||
* @param content 内容
|
||||
* @param touchOutsideCancel 弹窗类型
|
||||
* @param cancelText 取消 文案
|
||||
* @param confirmText 确定 文案
|
||||
* @param click
|
||||
*/
|
||||
public void showEditDialog(String title, String hint, boolean touchOutsideCancel, String cancelText, String confirmText,
|
||||
public void showEditDialog(String title, String hint,String content, boolean touchOutsideCancel, String cancelText, String confirmText,
|
||||
final OnDialogClick click) {
|
||||
View view = getLayoutInflater().inflate(R.layout.public_dialog_input_text, null);
|
||||
EditText editText = view.findViewById(R.id.et_input);
|
||||
editText.setHint(hint);
|
||||
if(TextUtils.isEmpty(content)){
|
||||
editText.setHint(hint);
|
||||
}else{
|
||||
editText.setText(content);
|
||||
}
|
||||
setTextView(R.id.tv_title, title, view);
|
||||
if (!TextUtils.isEmpty(confirmText) && !TextUtils.isEmpty(cancelText)) {
|
||||
((TextView) view.findViewById(R.id.btnLeft)).setText(cancelText);
|
||||
|
||||
Reference in New Issue
Block a user