Should you be checking if the fragment isAdded() whenever you call getParentFragment()?
The current version of Fragment deprecates getFragmentManager() in favor of getParentFragmentManager(), which is not nullable and throws an IllegalStateException instead. The same method says that you can check for isAdded() if you want to know whether the Fragment is currently added to an activity/context.
Does this mean that now you should be checking for isAdded() the same way you'd check if it's != null before you call getParentFragmentManager()?
Or is the IllegalStateException a hint...