【android】setOnItemClickListener cannot be used with a spinner的错误
错误提示:
java.lang.RuntimeException: Unable to start activity ComponentInfo{xx activity}: java.lang.RuntimeException: setOnItemClickListener cannot be used with a spinner.
解决方法:
用setOnItemSelectedListener代替setOnItemClickListener