【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

 

posted @ 2013-12-09 09:23  江海不系舟  阅读(1395)  评论(0编辑  收藏  举报