Hello. Well, I don't understand what you point out 'these' part. But simply say it again, I'm looking for simplest way to not touch the current cursor further. And i can not use selectionArg since that available datas are kind of...random.(of course there is a condition to filter out row by row : ( ).
Is there any way to mask(or filter) record as what I need under cursor adapter? if there is no way, I may shoud use ArrayAdapter by manually.... What do you think? On Mar 3, 9:11 pm, Mark Murphy <[email protected]> wrote: > 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 <[email protected]> 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 [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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://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 [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

