Children not shown
i made a custom view and it have a checkbox and textView it just open when i click on the textview how to make it show the children only when i check the box !! ?
Register an CompoundButton.OnCheckedChangeListener on the checkbox in the nodes ViewHolder getView() and call node.getTreeView().expand(node) when "isChecked" is true
For help with the listener: http://stackoverflow.com/questions/8386832/android-checkbox-listener
hello here is my checkBoxHolder class [https://gist.github.com/Abdelsattar/64122a63ae3bc87f23856fc0e826c449](Gist for class)
when i made this line of code
node.getTreeView().expand(node) give me error on getTreeView()