No, the SimpleCursorAdapter documentation says that the views
*created* by the adapter should be TextViews and ImageViews (but it is
not mandatory.) You can use a SimpleCursorAdapter in a ListView. As it
was said before, you cannot instanciate a CursorAdapter directly since
it's an abstract class. Just use a SimpleCursorAdapter or write your
own by extending CursorAdapter.

On Sun, Jun 8, 2008 at 7:58 PM, Sylvester Steele
<[EMAIL PROTECTED]> wrote:
>
> I think you can only use Cursors for stuff
>> you
> I do receive a query.
>
> the simple cursor adapter 
> http://code.google.com/android/reference/android/widget/SimpleCursorAdapter.html
> page says that it is to be used for textView etc and not ListView.
>
> The cursorAdapter class according to
> http://code.google.com/android/reference/android/widget/CursorAdapter.html
> should be used for a ListView, which is what I want.
>
> Sylvester
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to