recommended uniform dialog interface for android
implementation "tiiehenry.android.ui.dialogs:public_api:1.0"
implements interfaces in tiiehenry.android.ui.dialogs.api.strategy
set Object to tiiehenry.android.ui.dialogs.api.strategy.Dialogs
Dialogs.global.asInput()
.title("请输入项目名")
.input("请输入项目名",
"demoProject",
new InputCallback() {
@Override
public void onInput(@NonNull IInputDialog dialog, CharSequence input) {
})
.negativeText()
.positiveText()
.show();
confirm | input | list | loading | progress | custom |
---|---|---|---|---|---|
confirm dialog | input text | single/multi items | loading view | show progress | custom view |