That is a combination of two objects.
1. SQLiteOpenHelper
2. OnClickListener
These would (collectively) work to accomplish the task. The helper would allow you to work around with SQLite databases, like accessing or updating the values and the click listener would allow your application to handle the taps by user.
Start by this tutorial,
Using SQLite Database with Android[
^], then the
listener[
^] can be added to the items in your list to trigger the helper to update the values.