Port of the Java MultiSelectSpinner