philburk / android-midisuite

Android MIDI test programs and examples.
Apache License 2.0
153 stars 53 forks source link

MidiPortSelector and rotating device #53

Open audetto opened 5 years ago

audetto commented 5 years ago

When the spinner associated to the MidiPortSelector is recreated after a screen rotation, it might not select the same Midi device as before the selection.

This happens if a device is added, as it will go to the end of the list, not its natural position when the Port selector queries devices after the rotation.