read the newspaper wrong, it seems that your method does not define success. So showState is undefined.
if Webview interacts with android natively, you can try this way to define the method you need to expose in javascript
window ["showState"] = function (state,contId,conments) {.}
Previous: How to convert python string to utc time?
Next: Ask whether the-sharp in the url link will be unfriendly to the website.