私は練習に使用しているコードに問題がありました。 事は、チュートリアルをしている人のために働くことですが、それは私のためには動作しません。私の質問はどのように私はそれを修正するのですか?それは後で私にlogcatアンドロイドアプリからのエラーsetOnClickListener
Error:(26, 23) error: no suitable method found for setOnClickListener(<anonymous OnItemClickListener>)
method View.setOnClickListener(OnClickListener) is not applicable
(argument mismatch; <anonymous OnItemClickListener> cannot be converted to OnClickListener)
method AdapterView.setOnClickListener(OnClickListener) is not applicable
(argument mismatch; <anonymous OnItemClickListener> cannot be converted to OnClickListener)
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
は、http([-アンドロイド-リストビュー-onitemclick-イベントを処理します]。 com/tutorial/handling-android-listview-onitemclick-event) –