Re: [android-developers] Re: Problem getting string from database
info.id comes from your adapter's getItemId(), and it's your code's
responsibility to return something reasonable here (such as the _id column).
Sounds like you did the right thing.
04.08.2011 15:43, André пишет:
> Some how I can't get that to work. I've made it work before exactly
> like you mentioned with info.id but now it doesn't work.
> This time I'm using a custom listview with checkboxes, could this have
> anything to do with it?
> I made a work around though, I added the _id when first filling the
> list as a long for every post. So when I select an item and open the
> context menu it takes the _id from the custom listview instead and
> then it works.
>
> Thanks for your suggetions!
> André
--
Kostya Vasilyev
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home