Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アダプターと組み合わせたリストビューがあります。私のリストビューには、複数の要素を含む複数の要素があります。listitem でクリックされたものを検出するにはどうすればよいですか? アダプターの各ボタンに onclicklistener を使用して実行しましたが、ボタンなどを除いてすべてをクリックできないようにするより良い方法はありませんか?
前もって感謝します