Android compatibility between ExpandableListView and CheckTextView/Checkbox?

I've found a post that say that the two way are incompatible, but I can't remember where I stick to the way I found, by associating a boolean array for groups, and a two dimensional boolean array for childs, and each click on a group or a child will change the boolean associate to the position It's a bit heavy but it works and we can do anything we want.

I've found a post that say that the two way are incompatible, but I can't remember where. I stick to the way I found, by associating a boolean array for groups, and a two dimensional boolean array for childs, and each click on a group or a child will change the boolean associate to the position. It's a bit heavy but it works and we can do anything we want.

For category, I used a textView and a checkbox, because when we click on the category name, we need to expand it (it is an expandable list view after all!). For the selection, the listview is on "Multiple Choice Mode". The adapter as the list of checked items, and in the getchild/getgroup view(), I set the checkbox (or the checkedtextview) to the state given by the sparsebooleanarray (of the listview).

So when I check a checkbox, I know what position it is in the listview. But I have a lot of problem with that implementations (the position given is not good, etc). Is this right?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions