CustomTabActivityHelper
This is a helper class to manage the connection to the Custom Tabs Service.
Types
Link copied to clipboard
To be used as a fallback to open the Uri when Custom Tabs is not available.
Functions
Link copied to clipboard
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.