Ashish Ranjan
Ashish Ranjan

Reputation: 5543

Disable swipe to refresh in chrome CustomTab

I'm using chrome CustomTab to open a url inside my app, using customTabsIntent.launchUrl method and CustomTabsIntent.Builder. Here's how I'm doing it right now:

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

is there any way to disable the swipetorefresh behaviour that is set by default, in the CustomTab? by modifying the builder or something? (without making any changes to the website)

Upvotes: 0

Views: 556

Answers (1)

andreban
andreban

Reputation: 4976

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

Upvotes: 1

Related Questions