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.
画像のグリッド ビューでポップアップを表示しています。ユーザーがグリッド ビューのいずれかの画像をクリックすると、いくつかの作業を実行しようとしています。しかし、gridview の onClick イベントを取得できません。
何か案は?
getView()画像をレンダリングするメソッドでsetOnClickListener、それぞれImageViewを呼び出すと、機能するはずです。
getView()
setOnClickListener
ImageView