I have a tabbedviewnavigator application where I have 5 tabs in it. So, the first tab contains the first view of the application, e.g. HomeView. Inside this view, I have a button where upon clicking it, it will push to the second view which is sitting in the second tab.
How do I change the selected tab index upon clicking the button? Because right now the selected tab is till on the first tab. Please help.