I finally found the solution
class WebAppInterfaced(val webview: WebView) {
@JavascriptInterface
fun PageRedirect(newUri: String) {
webview.post(Runnable {
webview.loadUrl("file:///android_asset/$newUri")
});
}
}