I have a spinner, which mostly works. If a user selects one of the items in it, the ‘onItemSelected’ routine catches it just fine.
But if a user clicks the same spinner, but does not change from the already visible item that it’s currently displaying, the ‘onItemSelected’ routine just ignores it, and the logs show:-
WARN/InputManagerService(577): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@437948b0
I there anyway to capture someone doing this? The idea is that my spinner contains a list of names, and when a user selects one from the spinner, it gets added to a listview.
I could just add another button to get the name from the spinner, but, screen-space is already lacking and I’d rather not add anymore content.
Never used the spinner but wouldn’t it be possible to reset the spinners position in the onItemSelected routine? To some kind of null value that says “Please choose” or something.