I have an screen that displays all the names in the Contacts in a ListView.
When the user clicks on a name, I want to launch another Activity which display the details of the selected Contact (Phone number/ email) in another screen. How do I display details for the selected row. (i.e When starting the intent how do I send over the row_id of the item selected)?
I've tried the following code:
Intent i = new Intent(this, ContactDetails.class); startActivity(i);
© Stack Overflow or respective owner