Android Studio - Upload a new html in response to the string sent from webview with javascript to android

0

Please, could you help me. I have an HTML page loaded in the webview. When the user clicks a button the action function sends the action string to the android. I need to load another html in the webview using the cadcli (View view) function. I did it as below but it does not work because I can not send the view as a parameter.

    public void action(String acao,String dados) {
       if(acao.equals("AlterarCliente")){           
          cadcli(view);
       }
    }
    
asked by anonymous 13.11.2018 / 07:00

0 answers