Android programming tutorials, 3rd edition

Page 86

Menus and Messages

/> </TableRow>

Then, we need to modify the LunchList activity itself, by: 1.

Adding another data member for the notes EditText widget defined above

2. Find our notes EditText widget as part of onCreate(), like we do with other EditText widgets 3. Save our notes to our restaurant in onSave 4. Restore our notes to the EditText in onListClick At this point, you can recompile and reinstall the application to see your notes field in action:

Figure 15. The notes field in the detail form

59


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.