I have a custom listview with two textviews and one checkbox and there is a separated checkbox outside of the listview named "Select All".
The Problems:
- When I click the "Select All" checkbox it check the checkboxes in the listview but when I hit "Done" button it is only gets the values of the items of the listview those can be seen in the screen (e.g in my device I can only see 7 items) and ignore the rest.
- When I click it again in order to uncheck the boxes it only uncheck those I can't see.
NOTE : By saying "those I can see or can't" I mean those are hidden down in the scrolling side. Yeah I can see them when I scroll up.
Help me to solve it.
- When I click the "Select All" checkbox - let it check those are in the listview and vise vasa.
- When I click the "Done" button - let it gets the value of all checked boxes.
BUT NOTE : This last problem only happens when I use the "Select All" functionality. But If I will check them one-by-one it gets all of the item values - which is contacts.
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire