You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to get the ID of a given item by index, but not the other way around.
If we want to be able to use setSelectedIndex() to switch tabs programatically, and we don't want to rely on hard coded indices, we need a way to look up a tab position by ID.
Or better yet, also provide a setSelectedId() convenience method.
The text was updated successfully, but these errors were encountered:
It's possible to get the ID of a given item by index, but not the other way around.
If we want to be able to use
setSelectedIndex()
to switch tabs programatically, and we don't want to rely on hard coded indices, we need a way to look up a tab position by ID.Or better yet, also provide a
setSelectedId()
convenience method.The text was updated successfully, but these errors were encountered: