I have one fragment(A) with two links, clicking each one will jump to a new fragment (B or C), the code (in onCreateView or onResume method) for jumping to the fragment B or C is as below.
getFragmentManager().beginTransaction()
.replace(R.id.container, FragmentB)
.addToBackStack(null)
.commit();
Then click back button to go back to the fragmentA (same code as above), the page will be blank(white) screen sometimes (Not every time). After that, when I open any other pages(fragment), they will be blank. I have to restart the emulator or reinstall the app to make other pages display normally.
Any idea about this issue? What are the possible root causes?
Thank you very much!