New issue
Advanced search Search tips

Issue 695278 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

How to switch tab programmatically in Android Chromium

Reported by monopoly...@gmail.com, Feb 23 2017

Issue description

Steps to reproduce the problem:
1. I design a HOME button always see in screen.
2. I have a Home tab (the 1st NTP, and I open many tabs
3. Go to 1 of them. I want to Click Home, the App will show Home Tab.

What is the expected behavior?

What went wrong?
I can not find method to show the specific tab. I can get the Home tab using getCurrentTabModel().getTabAt(0) in ChromeTabbedActivity.

Please help me. Thanks!

Did this work before? N/A 

Chrome version: 55.0.2882.0  Channel: n/a
OS Version: 6
Flash Version:

 
Cc: krav...@chromium.org
Labels: -Arch-x86_64 triage-te
Components: -Platform>DevTools Platform>Extensions>API
Cc: -krav...@chromium.org tedc...@chromium.org
Labels: -triage-te
Status: Available (was: Unconfirmed)
Status: WontFix (was: Available)
Please ask questions on chromium-dev@

https://groups.google.com/a/chromium.org/forum/#!forum/chromium-dev
TabModelUtils#setIndex FWIW

Sign in to add a comment