Skip to content

bottomBar.selectTabAtPosition not working the first time #60

Closed
LaurentTreguier opened this Issue · 3 comments

2 participants

@LaurentTreguier

No description provided.

@roughike
Owner

The listener won't tell you any changes to tab selection the first time. So you could remove the both selectTabAtPosition() methods you're currently using, and do something like this the first time:

if (savedInstanceState == null) {
    // show fragment number 0 the first time
}
@LaurentTreguier

Ok. I just found it weird because it was working fine with version 1.0.8 and couldn't see why it stopped afterwards...

@roughike
Owner

I'm sorry for that.

I'll also look into this later and see if there's something I could be doing better.

Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.