java.lang.RuntimeException: Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user3463989
, 2 years ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
via Stack Overflow by Cross Marrian
, 2 years ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
via Stack Overflow by Piers Geyman
, 1 year ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
via Stack Overflow by astevens009
, 1 year ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
via Stack Overflow by gon250
, 2 years ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
via blogspot.com by Unknown author, 1 year ago
Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
java.lang.RuntimeException: Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
15 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.