AndroidTreeView icon indicating copy to clipboard operation
AndroidTreeView copied to clipboard

No0b issue with view dismiss.

Open sikrinick opened this issue 9 years ago • 1 comments

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?

sikrinick avatar Jun 18 '16 06:06 sikrinick

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

bmelnychuk avatar Jul 26 '16 15:07 bmelnychuk