Fragment transactions are asynchronous.
It is possible that you have two or more calls to this code before the fragment transactions are executed. !selectPlan04Dialog.isVisible() & !selectPlan04Dialog.isAdded() condition is true and show() schedules another fragment transaction to execute later.
Some options for fixing this:
- Create a new dialog every time and…
Top comments (0)