+ 1
Android beginner question please help
onItemClick(AdapterView<?> parent, View view, int position, long id) i was reading a book on android and came across this but they do not explain why they use this.what does this mean?i do not uds the explanation on the internet either.can someone use simple english to explain each part and when should i use it..thankyou
1 Answer
0
onItemClick is a function/method that is executed when you click on a particular item
There also must be an event listener who listens for events like item clicks and then calls methods like this one to handle them