Saturday, March 3, 2012

Re: [android-developers] CursorAdapter? or OtherAdapter?

Why are these rows in your Cursor in the first place, if they are not
to be used?

On Sat, Mar 3, 2012 at 1:59 AM, Build Account <newandroid66@gmail.com> wrote:
> Hello,
>
> If I have a cursor and need to display as a list through adapter,
> then which adapter is best under below condition?
>
>  The cursor have datas(of course).
> But this cursor contains some of rows which should not be displayed.
> For example, totally 10 records, but index 1, 4, 5, 8 should not be
> displayed.
> (Means, not sequentially sorted. and also cannot sort it by sort
> order.).
>
> With above cursor data,
> how to filter out only available datas(which index 0, 2, 3, 6, 7, 9)
> in adapter?
>
> Any ideas or way to do???
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment