WebView.loadUrl(additionalData.optString("targeturl"));
how to debug error non-static method loadUrl(String) cannot be referenced from a static context
WebView.loadUrl(additionalData.optString("targeturl"));
how to debug error non-static method loadUrl(String) cannot be referenced from a static context
Copyright © 2021 Jogjafile Inc.
The error is self explanatory, you should call loadUrl on an instance of WebView, it's not a static method, therefore you can't call it statically on the class like you're doing.
e.g.
also, check out the documentation