For a CursorAdapter, you don't normally Override getView. Instead,
you'll do all that work in bindView, which takes a Cursor as an
argument (this Cursor is the one that you provide when you instantiate
a new CursorAdapter for your ListView).

So, basically, you can move your implementation of getView into
bindView and clean it up a bit (e.g., you won't have to instantiate a
Cursor, just use the one that is passed in), then remove getView from
your implementation.

Best regards,
Brian Cooley

On Jul 26, 9:50 am, charles berman <[email protected]>
wrote:
> can anyone tell me what im doing wrong with my cursorAdapter?
>  its making my display choppy when i scroll. I used to have it within a
> getview but was ripped (rightfully so) on IRC several times because thats
> not the right place for it. Im still learning and just trying to correctly
> wrap my head around things.
>
> http://pastebin.com/Dc5ppHUM

-- 
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

Reply via email to