xmartlabs / XLPagerTabStrip

Android PagerTabStrip for iOS.
MIT License
6.97k stars 1.32k forks source link

Getting blank screen when changing controller with swipe #853

Open JohnInofie opened 1 year ago

JohnInofie commented 1 year ago

Hi, I've followed steps to setup tabs and controllers as mentioned. when i change controller using ButtonBarView click it works as expected and shows given controller but when i try to move to next controller by swiping left or right, instead of showing next controller it shows blank view.

Can you please help to know what i am missing to setup here.

hamzah-mugharbil commented 11 months ago

Not sure if this will help in your specific case, but we were running into an issue with an unexpected blank screen and our fix around it was to add a reloadPagerTabStripView() call in the appropriate place to reload the controllers.

Hope that helps ✌️