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.
Newer Article
Android free libraries for android developers...............
Older Article
Splashscreen code using kotlin in android studio
Rating bar android studio tutorials using kotlinFeb 28, 2018
Radiogroup android studio using kotlin tutorialsFeb 28, 2018
Labels:
tutorials
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment