Reload Android webview with javascript interface
<p>Im in proccess of creating an Android application based on webview.
The application loads html file from android assets into the webview.</p>

<p>I want to create a button the reload the webview I tried to do that using javascript:</p>

<pre><code>location.reload(); 
</code></pre>

<p>But im getting a toast like error message that says me that this file is not exits.
I wanted to try to do it with java inside my javascript interface class
but I cant find way to access the webview object that is in the MainActivity.</p>

<p>I'd appreciate your help people!.</p>