I don't know if it's clear from the title what I asked, so here are some steps to reproduce (assuming you have a layout with a spinner):
- Tap on the spinner > dropdown list opens.
- Rotate the device from portrait to landscape (or vice-versa) > the list is closing.
My problem is that I would like to keep the list opened after rotating the device. I know that this is usually possible if overriding onConfigurationChanged, but I have defined a different layout for landscape mode, so in my onConfigurationChanged method I have to call setContentView and set the adapter for the landscape spinner, which closes the dropdown view that was opened in portrait mode.
Is there a way I could prevent the dropdown list from closing or perhaps forcing it to show after rotating the device?