Open shanecontinued opened 6 years ago
Yeah i am also looking for this @TheFinestArtist
I implemented some code to allow us to programmatically close the activity. You can do Builder.close()
Kotlin Example:
val webviewBuilder = FinestWebView.Builder(this)
webviewBuilder.setWebViewListener(object : WebViewListener() {
override fun onPageFinished(url: String?) {
Handler().postDelayed({
webviewBuilder.close()
}, 5000)
}
})
implementation 'com.github.gintechsystems:FinestWebView-Android:1.2.7'
How can I programmatically close the modal? Specifically from inside a WebListener.