比如下面的声明中,exec(String, String, JSONArray)这个方法怎样才能通过JS调用到呢?还需要引用什么包?现在只能调用到exec(String, String, String)
new IJsInterface() {
@Override
public String prompt(String arg0, String arg1) {
// TODO Auto-generated method stub
return null;
}
@Override
public String exec(String arg0, String arg1, JSONArray arg2) {
// TODO Auto-generated method stub
return null;
}
@Override
public String exec(String arg0, String arg1, String arg2) {
// TODO Auto-generated method stub
return null;
}
}
0 个回复