stepstone-tech / android-material-stepper

This library allows to use Material steppers inside Android applications.
Apache License 2.0
1.78k stars 261 forks source link

onBackClicked () not called in tabs click #237

Open bolaware opened 6 years ago

bolaware commented 6 years ago

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)

zawadz88 commented 6 years ago

Hi @Bolaji95, Thanks for reporting this! This sounds definitely like a bug to me.