openUrl

fun Context.openUrl(url: String, onActivityNotFoundException: (Context) -> Unit = { showToast( R.string.on_activity_not_found_exception_message, Toast.LENGTH_LONG ) })

Opens url in a browser-capable activity.

This builds the browsable view intent and centralizes ActivityNotFoundException handling.