Nmix wrote: > In all the examples I've found to manipulate each view in a ListView, > the method always seems to be getView(). But these were never Adapters > backed by a cursor. I decided to try bindView() within a > SimpleCursorAdapter, and so far it works very nicely, especially with > the cursor all set up for my use. > > My question is, is this usage good practice, and could I run into a > problem in future? My question may be dumb but I just couldn't find a > good example code snippet that uses a cursor.
Cursors are a bit of a pain to set up, if you're trying to show a complete example -- you need a database, etc. But using newView()/bindView() should be just fine. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

