I have in some occasions seen treeview interfaces that displays all folders with a little expander icon beside it, but in some occasions this expander when clicked reveals no new files under that folder.
I assume that this is a quirk due to lazy loading -- which only loads children when requested to -- not knowing if it will have anything to load, but is there any other reasons for this behavior? Are there cases where we want to treat expandable
independently from currently having children
? In other words, when might it be desirable to expand/collapse empty folders?