Open sikrinick opened 8 years ago
Not sure if I understood correctly, but I would male listener to delete button available from outside and then after you delete node you can check tree size with TreeNode.size() and then just dismiss dialog. You should not really have access to Dialog on ViewHolder, but listener should work
Good afternoon,
I create TreeNodes with custom TreeViewHolder, that has delete button. I want to delete elements from list. AndroidTreeView is a view for alert dialog. Can I somehow dismiss alert dialog, that contains AndroidTreeView, if TreeNode.root() is empty/has no children?