Closed kallej closed 11 years ago
If I open another fragment via nav drawer and then back to the viewpager fragment the old fragment sticks around in the background view. Re-create: open drawer, click top list item.
Never mind. Writing .replace instead of .add, fixes it.
getSupportFragmentManager().beginTransaction() .replace(R.id.content, fragment).commit();
If I open another fragment via nav drawer and then back to the viewpager fragment the old fragment sticks around in the background view. Re-create: open drawer, click top list item.