Why does the order in which the Facebook fragment is added via the SupportFragmentManger matter?

view story

http://stackoverflow.com – I am in the process of creating an AuthenticationActivity which will provide users the option of logging in via Facebook, Twitter or app specific auth. After following the well written tutorial Use Facebook Login from the Facebook Android SDK documentation I had Facebook authentication working. Unfortunately, when I proceeded to add a Twitter Fragment to provide similar login functionality I ran into issues. Suddenly the Facebook login button would not change state and my authentication to Facebook would not fully complete, though I could see authentication callbacks being returned. After go (HowTos)