openBrowser

fun openBrowser(url: String, fallbackWebView: Boolean = false, fragment: Fragment? = null)(source)

If fallbackWebView is true and a fragment is supplied then it will open a WebView with the URL if the browser fails.


fun openBrowser(url: String, activity: FragmentActivity?)(source)

Will fall back to WebView if in TV or emulator layout.