uias / Tabman

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

Jumping to specific tab issue #507

Open Kashif-Rabbani opened 4 years ago

Kashif-Rabbani commented 4 years ago

Issue Description

Hi, I have a list of 300 items to show in tabs. It is very inefficient to load all the tabs at once as it requires a user to wait and also consumes a lot of memory. Therefore, I have achieved a dynamic behavior and only loading 3 tabs at once, and similarly, while user swipes, I load 3 more and so on.

Is it possible to jump to a specific tab and have the same behavior? E.g., From the home screen user has given an input item number 100. Now when I go to the viewController/Storyboard of Tabman, I don't know how to have the same behavior as the item 100th should be active tab and 99th and 101st should be on left and right respectively.

Please help! Many Thanks.