Jul 24, 2017 · 1 min read
My solution since regarding fragments is to ignore addToBackStack() entirely, and replace it with calls to add()/ remove() / detach() / attach() / show() / hide() as needed. This way I do not end up with a need for calling getFragments() and I do not need to rely on the fundamentally broken onBackstackChanged() method.
