Android: Issue with newView and bindView in custom SimpleCursorAdapter
I created a custom SimpleCursorAdapter from one of the only example I found . When my ListActivity is called, newView and bindView are called for every of my DB entry, and called again for every entry. I've got a few questions: -is the example right (if not, where can I find one)? -if bindView call is always preceded by newView call, why doing the same in both functions? -why is the sequence newView-bindView called twice for every item? -why some CursorAdapter examples use getView instead of newView and bindView? Basically, how should SimpleCursorAdapter be used, and what's wrong with my code?