openBrowser

fun Context.openBrowser(url: String, fallbackWebview: Boolean = false, fragment: Fragment? = null): Unit?(source)

If fallbackWebview is true and a fragment is supplied then it will open a webview with the url if the browser fails.