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 fallback to webview if in TV layout