Are DialogFragments supposed to be dismissed on device rotation?
I'm using Navigation. Nav graph goes from Fragment A -> Dialog B (this is a dialogfragment). When I rotate device on Dialog B, it dismisses the dialog and goes back to Fragment A.
I'm expecting Dialog B to stay on screen through device rotation. Has anyone come across this problem?