Here's the code, and what I need help understanding is the purpose of
I see it in tutorials but I can't seem to connect the dots on what it does
PHP:
<?>
I see it in tutorials but I can't seem to connect the dots on what it does
PHP:
public void onItemClick(AdapterView<?> parent, View view,
int position, long id) {
// When clicked, show a toast with the TextView text
Toast.makeText(getApplicationContext(), ((TextView) view).getText(),
Toast.LENGTH_SHORT).show();
}
