0

我正在使用 chromeCustomTab在我的应用程序中打开一个 url,使用customTabsIntent.launchUrl方法和CustomTabsIntent.Builder. 这是我现在的做法:

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

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

4

1 回答 1

1

No, This is not currently possible, as Custom Tabs will respect the behaviour of the opened web page. If changing the page is possible, these instructions can help

于 2018-04-04T09:46:00.937 回答