Created
January 17, 2021 06:16
-
-
Save jedsada-gh/a4bd06883ed41857ec66e96407f72db3 to your computer and use it in GitHub Desktop.
how-to-use-webview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startActivity(Intent(this, WebViewActivity::class.java).apply{ | |
putExtra(KEY_TITLE, getString("Title")) | |
putExtra(KEY_URL_WEBVIEW, URL) | |
}) | |
// AndroidManifest.xml | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<activity | |
android:name=".ui.WebViewActivity" | |
android:screenOrientation="horizontal" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment