Hi All,
I am new to android and list views. I have a problem with the long lists in
list view,
My list view consists of couple of headers and a each list item consists of
a text + check box
Select All CheckBox
-------------------------------------------
Seperator 1
-------------------------------------------
Item 1 CheckBox 1
--------------------------------------------
Item 2 CheckBox 2
-------------------------------------------
Item 3 CheckBox 3
------------------------------------------
Item 4 CheckBox 4
--------------------------------------------
Seperator
-------------------------------------------
Item 5 Checkbox 5
---------------------------------------------
Item 6 Checkbox6
---------------------------------------------
I am using a custom adapter in which I am taking care of headers and
inflating the layout
the object hirerarchy is
Base Adapter
|
MyOwnAdapter ( here I am creating view for item and check box and its CB )
|
Separation Adapter ( takes care of seperataros or titles )
I am registering for Call back for Select All check button using
listView.getchildcount(), the problem with this is listView
.getchildcount() is gives the items displayed on the screen
In short I want to get each view and disable /enable the check buttons in
the list. Also there is problem if we scroll and delete the
list view items as the position returned by list view is relative position.
Is there any way we can have scroll support ?
Thanks,
Aditya
BR,
Addy
--
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