Screen rotation with configChanges causes Fragment ViewBinding to NPE
I have encountered a puzzling problem. When I create a Fragment in an Android View and create a ViewBinding inside the Fragment, and then declare android:configChanges="orientation|screenSize|screenLayout"
in the manifest file, why does calling the ViewBinding created inside the Fragment by calling the Activity’s onMultiWindowModeChanged()
cause NPE of the ViewBinding created inside the Fragment when the screen is rotated?