这是我的代码...无法弄清楚应该如何编写返回类型
if (lpparam.packageName.equals("com.demo.data")) {
XposedBridge.log("we are in Module!");
findAndHookMethod("com.demo.data.utils.Utils", lpparam.classLoader, "getListFromJsonArrayString", List<String>,new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.log("we are in method!");
log("call -> " + (String) param.getResult());
}
});
}
List<String> or List<String.class> is not working
我试图挂钩的方法是返回类型为
List<string> getListFromJsonArrayString()