My Android app consists three fragments: A, B and C. They\'re loaded in the two containers defined in the MainActivity layout.
MainActivity
When th
I've fixed it! I called getSupportFragmentManager().executePendingTransactions() after doing the transaction and it worked! After calling that method I can get the fragment using both findFragmentById() and findFragmentByTag() methods.
getSupportFragmentManager().executePendingTransactions()
findFragmentById()
findFragmentByTag()