uias / Tabman

™️ A powerful paging view controller with interactive indicator bars
https://uias.github.io/Tabman
MIT License
2.87k stars 238 forks source link

Added barViewDidScroll (open) method #632

Closed raihan closed 1 month ago

raihan commented 2 months ago

Background Context:

Thanks for creating and maintaining this awesome library We are using TabMan in our project, recently we added a functionality where we will do some action when user will scroll the tab bar view horizontally. We checked the library and found that, all the listener are marked internal / private. As a result we can not detect didScroll of tabBarView.

In this PR, I have added an open method called barViewDidScroll which can be overridden from outside of this module to detect the horizontal scrolling of tabBarView. I hope that, you will review the PR.