Suppose we have this example:
http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html
with source code available here:
http://code.google.com/p/myandroidwidgets/source/browse/trunk/Phonebook/src/com/abeanie/
How can we modify a mobile phone number once clicked on the list item?
In the method
onItemClick()get thePhoneBookelement corresponding to the position(the position parameter) of the row clicked, update the value and then notify the adapter that the data has changed with a call to the methodnotifyDataSetChanged():