How to store data into database in a customadapter?

view story

http://stackoverflow.com – I want to store values of textviews into a database in my adapter class , but the problem is that if I do store values in the getView function then it is store three times and if I create a new function to store values it stires one time but I am not able to access the textView . Here is my main class : public class ZoombaWeek extends Activity { long ELEMENT_COUNT = 0; private EventMainAdapter dbHelper; int position=0; ImageButton bAddView; ImageView bEventPage; private TemplateMainAdapter dbHelper1; AdapterWeek adapter; @Override public void onCreate(Bundle savedInstanceState) { super. (HowTos)