When I click on the previous step in the tab,I need it to call the function onBackClicked () but it doesnt.It's important i have that feature as i want to reset some variables when users go back.onBackClicked() is called when the bottom back button is clicked,but not on clicking a previous step in tab and I don't want to disable the tab navigaton(I won't mind if it's possible for just one step though)
When I click on the previous step in the tab,I need it to call the function onBackClicked () but it doesnt.It's important i have that feature as i want to reset some variables when users go back.onBackClicked() is called when the bottom back button is clicked,but not on clicking a previous step in tab and I don't want to disable the tab navigaton(I won't mind if it's possible for just one step though)