You still can use switch with enums - you just have to convert a String input into an enum - or null, if you don't have an enum for it. Like this:
public enum Input {ONE, TWO, THREE, NULL}
and in the code
String selection = getInput(); // some internal magic to get the selectes list item
Input input = Enum.valueOf(Input.class, selection.toUpperCase().trim());
if (input == null) input = Input.NULL;
switch(input) {
case ONE: // "one" was selected
case TWO: // "two" was selected
case THREE: // "three" was selected
default: // unrecognized / unhandled input
}
Please note, that I skipped the break statements to keep the example short.
Just learned, that if size and/or speed matters enums should be avoided in android development. So the pattern will work with old fashioned static consts too, just change
Input input = Enum.valueOf(Input.class, selection.toUpperCase().trim());
to
int input = decode(selection.toUpperCase().trim());
and make sure, you have the static fields ONE, TWO, ... set and a decoder implementation to convert a String input to one of your constants. Yes, it's much uglier, especially in the decoder, but that one can be hidden somewhere out of sight.