接口修改
parent
d490c0a271
commit
cd998489cb
|
@ -159,10 +159,11 @@ public class AppletHandlerModule extends BaseApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRegisteredMoreMenuItemClicked(@NotNull String s,String path, int i) {
|
public void onRegisteredMoreMenuItemClicked(@NotNull String appId, @NotNull String path, @NotNull String menuItemId, @Nullable String appInfo, @Nullable Bitmap bitmap, @NotNull IAppletCallback iAppletCallback) {
|
||||||
|
|
||||||
Map<String, Object> params = new HashMap<>();
|
Map<String, Object> params = new HashMap<>();
|
||||||
params.put("appId", s);
|
params.put("appId", appId);
|
||||||
params.put("menuId", i);
|
params.put("menuId", menuItemId);
|
||||||
handler.post(() -> {
|
handler.post(() -> {
|
||||||
channel.invokeMethod("extensionApi:onCustomMenuClick", params);
|
channel.invokeMethod("extensionApi:onCustomMenuClick", params);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue