1The type new AdapterView.OnItemClickListener(){} must implement the inherited abstract method AdapterView.OnItemClickListener.onItemClick(AdapterView<? >, View, int, long)
2android:View cannot be resolved to a type
两个问题一起出现的,解决2后1也就搞定了。
You should import it. If you are using Eclipse, press Ctrl+Shift+o.
"import android.view.View"