0
votes

Is there a way to programmatically select the tab displayed in the tabnavigator by using id instead of selectedIndex?

1

1 Answers

0
votes

I figured this out. Use the following code:

tb_all.selectedIndex = tb_all.getChildIndex(tb_calendar);