提交 80d2d3ad 编写于 作者: 打打卡夫卡's avatar 打打卡夫卡

删除无用的代码

上级 a0347c1b
......@@ -8,13 +8,14 @@ import AlertDialog from 'android.app.AlertDialog';
import DialogInterface from 'android.content.DialogInterface';
import EditText from 'android.widget.EditText';
@Suppress("UNUSED_PARAMETER")
export function showAlert(_title: string|null, _message: string|null, _result: (index: Number) => void) {
// todo
let uiRunable = new DialogUIRunnable(null,_title!,_message!,"",false);
UTSAndroid.getUniActivity()!.runOnUiThread(uiRunable)
}
@Suppress("UNUSED_PARAMETER")
export function showPrompt(_title: string|null,_message: string|null,_placeholder: string|null, success: (content: string)=>void) {
let uiRunable = new DialogUIRunnable(success,_title!,_message!,_placeholder!,true);
UTSAndroid.getUniActivity()!.runOnUiThread(uiRunable)
......
import {
UTSAndroid
} from "io.dcloud.uts";
/**
* 判断当前的基座是否已经集成了sdk, 即是否是自定义基座
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册