openCustomTab
fun openCustomTab( activity: Activity, customTabsIntent: CustomTabsIntent, uri: Uri?, fallback: CustomTabActivityHelper.CustomTabFallback?)
Content copied to clipboard
Opens the URL on a Custom Tab if possible. Otherwise fallsback to opening it on a WebView.
Parameters
activity
The host activity.
customTabsIntent
a CustomTabsIntent to be used if Custom Tabs is available.
uri
the Uri to be opened.
fallback
a CustomTabFallback to be used if Custom Tabs is not available.