I have a listview with a textview in each row. I am using a custom adapter to populate the each textview for different listview items from database, which also has a holder.textview.onclicklistener on the textview.
Problem is that I want to update database on click of textview for different list items, but getContentResolver() method, used to update the database does not work in holder.textview.onclicklistener.
Any ideas on how to update the database on click of textview present in listview items?