You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello~ thank you for developing Pageboy open source🙂
i wanna modify the currentIndex while using the Pageboy. can you modify the updateCurrentPageIndexIfNeeded located in the internal class that it can be used in an external project? The reason for modifying the currentIndex is that when a datasource is updated as new one, the currentIndex is changed to 0, which is why scrollToPage is not being used as my intended.
for example, current tab index is 3 -> update tab -> currentIndex is changed to 0
I wanna keep currentIndex as 3. that's the reason why I wanna modify updateCurrentPageIndexIfNeeded function!
of course if you have other solutions, please let me know🙏🏼
thank you and have a nice day~!
The text was updated successfully, but these errors were encountered:
Hello~ thank you for developing Pageboy open source🙂
i wanna modify the
currentIndex
while using the Pageboy. can you modify theupdateCurrentPageIndexIfNeeded
located in theinternal
class that it can be used in an external project? The reason for modifying thecurrentIndex
is that when adatasource
is updated as new one, thecurrentIndex
is changed to 0, which is whyscrollToPage
is not being used as my intended.for example, current tab index is 3 -> update tab ->
currentIndex
is changed to 0I wanna keep
currentIndex
as 3. that's the reason why I wanna modifyupdateCurrentPageIndexIfNeeded
function!of course if you have other solutions, please let me know🙏🏼
thank you and have a nice day~!
The text was updated successfully, but these errors were encountered: