Hey Ravi, I'm using ListView not adapterView, but still i'm getting same exception
On Fri, Oct 8, 2010 at 1:15 PM, ravi pandit <rhpan...@gmail.com> wrote: > You might be using AdapterView other than the ListView like GridView > etc > > try changing it.It should work. > > regards, > ravi > The PPite > > On Oct 8, 11:47 am, Rocky <rkjhaw1...@gmail.com> wrote: > > Hey, > > Thanx for reply, > > > > but i'm getting ClassCastException at > > ((ListView)parent).isItemChecked(position) > > > > > > > > On Fri, Oct 8, 2010 at 11:14 AM, ravi pandit <rhpan...@gmail.com> wrote: > > > Hey, > > > Its supported from the android ListView .Set CHOICE_MODE and use > > > methods like > > > > > ((ListView)parent).isItemChecked(position) > > > ((ListView)parent).setItemChecked(position, value) > > > > > in your getView() or bindView() > > > > > regards, > > > ravi > > > > > On Oct 7, 1:20 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote: > > > > No, won't write the code for you. Just keep the selected item ids in > > > > a member SparseArray or something. Add/remove the items as they are > > > > clicked on and query it when you are binding the view. > > > > > > On Oct 7, 2:46 pm, Rocky <rkjhaw1...@gmail.com> wrote: > > > > > > > thanks for replay, > > > > > > > but how to handle it, please provide the logic or code. > > > > > > > --RKJ > > > > > > > On Thu, Oct 7, 2010 at 11:06 AM, Kumar Bibek <coomar....@gmail.com > > > > > wrote: > > > > > > Since the ListView recylces the convertViews, you will have to > keep > > > track > > > > > > of the items which are selected when they go off the screen. This > > > happens > > > > > > when you use convert views for lists and recycle it. > > > > > > > > On Thu, Oct 7, 2010 at 11:04 AM, RKJ (Android developer) < > > > > > > rkjhaw1...@gmail.com> wrote: > > > > > > > >> Hi, > > > > > > > >> I'm facing problem in scrolling. > > > > > >> I've 20-25 items in my List, if i checked first check box, > scroll > > > > > >> down, then come up, my checked status lost (becomes unchecked), > in > > > > > >> cursor adaptor. If i use base adaptor problem is resolved but > major > > > > > >> issue with base adaptor is performance, if my list goes beyond > the > > > 100 > > > > > >> items. > > > > > > > >> I need help, i'm stuck here since more than 7-8 days > > > > > > > >> -- > > > > > >> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > <android-developers%2bunsubsÂcr...@googlegroups.com> > > > > > >> For more options, visit this group at > > > > > >>http://groups.google.com/group/android-developers?hl=en > > > > > > > > -- > > > > > > Kumar Bibek > > > > > >http://techdroid.kbeanie.com > > > > > >http://www.kbeanie.com > > > > > > > > -- > > > > > > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > <android-developers%2bunsubsÂcr...@googlegroups.com> > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/android-developers?hl=en > > > > > > > -- > > > > > Thanks & Regards > > > > > > > Rakesh Kumar Jha > > > > > Software Developer > > > > > Symphony Services Corp (India) Pvt Ltd > > > > > Bangalore > > > > > (O) +918030274295 > > > > > (R) +919886336619- Hide quoted text - > > > > > > > - Show quoted text - > > > > > -- > > > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > Thanks & Regards > > > > Rakesh Kumar Jha > > Software Developer > > Symphony Services Corp (India) Pvt Ltd > > Bangalore > > (O) +918030274295 > > (R) +919886336619 > > -- > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Thanks & Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030274295 (R) +919886336619 -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en