Android 在chrome CustomTab中禁用刷卡刷新

Android 在chrome CustomTab中禁用刷卡刷新,android,chrome-custom-tabs,android-customtabs,Android,Chrome Custom Tabs,Android Customtabs,我正在使用chromeCustomTab在我的应用程序中打开一个url,使用customtabsinent.launchUrl方法和customtabsinent.Builder。我现在是这样做的: CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); CustomTabsIntent customTabsIntent = builder.build(); customTabsIntent.launchUrl(som

我正在使用chrome
CustomTab
在我的应用程序中打开一个url,使用
customtabsinent.launchUrl
方法和
customtabsinent.Builder
。我现在是这样做的:

CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
CustomTabsIntent customTabsIntent = builder.build();
customTabsIntent.launchUrl(someUrl);

是否有任何方法可以禁用默认设置的swipetorefresh行为(在
CustomTab
中)?通过修改构建器还是什么?(无需对网站进行任何更改)

不,这在当前是不可能的,因为自定义选项卡将尊重已打开网页的行为。如果可以更改页面,可以提供帮助