Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/Android/Implement View Option

18 bytes added, 11:18, 28 March 2011
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 ]]
1
edit