[android-developers] Re: Is it worth writing a ContentProvider and using CursorAdapter for this case?

2010-09-21 Thread Bret Foreman
And you can extend Cursor to add your own special sauce. I have one that works on top of a REST-ful database rather than SQLite. > > Also not that as far as I know CursorAdapter doesn't have a dependency on > there being a content provider.  It just wants a Cursor, which you can get > from any SQL

[android-developers] Re: Is it worth writing a ContentProvider and using CursorAdapter for this case?

2010-09-21 Thread Indicator Veritatis
IOW, the OP most likely should not be using ArrayAdapter at all, but relying on CursorAdapter talking directly to the ListView; it really is tailor-made for this situation. ArrayAdapter is really meant for a different situation: when you have a (static) array containing the data to be displayed. C

Re: [android-developers] Re: Is it worth writing a ContentProvider and using CursorAdapter for this case?

2010-09-21 Thread Kostya Vasilyev
Yes 21.09.2010 18:28, Samuh пишет: :shameless bump: -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: Is it worth writing a ContentProvider and using CursorAdapter for this case?

2010-09-21 Thread Samuh
:shameless bump: -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more