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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> > 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) < > > > > [email protected]> 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 > [email protected] > > > >> To unsubscribe from this group, send email to > > > >> [email protected]<android-developers%[email protected]> > <android-developers%2bunsubsĀ[email protected]> > > > >> 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 > [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<android-developers%[email protected]> > <android-developers%2bunsubsĀ[email protected]> > > > > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [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

