1
edit
Changes
→6. Implement View Option
=== 6. Implement View Option ===
6.1. Inside the <code>ContactList</code> class add the following code to implement view option:
<presource lang="java">
case R.id.item3:
Student viewStudent = (Student)contactsList.getSelectedItem();
}
break;
</presource>
6.2. Run the application, select a student and select "'''View Student"''' from the menu: <br/>
[[Image: A_view.png | 450px ]]