@Override public void setOnClickListener(OnClickListener l) { throw new RuntimeException("Don‘t call setOnClickListener for an AdapterView. " + "You probably want setOnItemClickListener instead"); }
AdapterView 不能设置 onClickListener,否则直接抛异常,布布扣,bubuko.com
AdapterView 不能设置 onClickListener,否则直接抛异常
原文地址:http://www.cnblogs.com/zijianlu/p/3851507.html