override fun onBackPressed() { val webview = findViewById<View>(R.id.webView2) as WebView if (webview.canGoBack()) { webview.goBack() } else { super.onBackPressed() } }
Thursday, 25 January 2018
New
Android studio webview onback press
About Wise4rmGod
android developer and a graphic designer,who likes to blog and share latest IT information and help young developers grow.
tutorials
Labels:
tutorials
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment