The interface was deprecated because of the typo but some APIs still use
the old deprecated version.
On Thursday, April 15, 2021 at 5:19:28 PM UTC+3 P5music wrote:
> I do not know if it is useful but
> I noticed that in code like
>
> webView.addJSCallback("javascript code here;callback.onSuccess();",
> new SuccessCallback<BrowserComponent.JSRef>() {
> @Override
> public void onSucess(BrowserComponent.JSRef value) {
> System.out.println("success");
> }
> });
>
> the method name onSuccess of
> SuccessCallback<BrowserComponent.JSRef>
> is written as onSucess (just one 'c')
> while the callback method is called successfully from javascript using
> callback.onSuccess().
> It is harmless for my project, in fact.
>
> Did you know it?
> Regards
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/20100ab4-10f9-493c-9e77-7730f1e76e43n%40googlegroups.com.