For my application I am using a couple listview. So far have been using simplecursoradapter and works great except for my list view that has a TextView and EditText in the row. I've run into problems that others have had, such as pulling the data from edittext to use in another activity as well as on scroll the text jumps around to different fields due to recycling. After research seems the best way to over come this is to build a custom cursor adapter but I can't wrap my head around how to do this.
public void fillData() {
Cursor e = mydbhelper.getUserWord();
startManagingCursor(e);
String[] from = new String[] {dbadapter.KEY_USERWORD,};
int[] to = new int[] {R.id.textType,};
editadapter = new SimpleCursorAdapter(this, R.layout.edit_row, e, from, to);
ListView list = getListView();
View footer = getLayoutInflater().inflate(R.layout.footer_layout, list, false);
list.addFooterView(footer);
setListAdapter(editadapter);
This is what I use for the activity in question but I can't understand how this would fill into a custom cursor adapter.
Also not sure if this custom adapter should be in a separate class from the rest of my code (like my menu items, edittext validator, onclick events etc.) and call the custom at the start of the class for everything else.
EDIT Was able to figure out what I needed from http://www.vogella.de/articles/AndroidListView/article.html#overview
not sure how I didn't come across it earlier but it helped me build a base to work off of. TY for all the help. I feel like I have ALOT better understand of how custom cursor adapters work.