pocheshire / BottomNavigationBar

Bottom Navigation Bar for Xamarin
214 stars 70 forks source link

onTabSelected called twice after screen rotation #50

Open j-garin opened 7 years ago

j-garin commented 7 years ago

Hello.

I've started optimizing screen rotations in my app and bumped into this issue. On screen rotation "onTabSelected" method is called twice! First time it's the default tab (position 0 in my case), then the tab, selected before screen rotation.

Can you please give me any hints on how to override this behaviour? I want to keep the views i had rather then switching tabs. Thank you.

jamsshhayd commented 7 years ago

I am also facing this issue.