So I was looking at this example
showing how to lazy load TreeView.
Just to save a click, this is the code:
I am working on trying to convert this code to a separate complete class in itself. Something like:
This should create a treeview with filesystem structure.
So far my attempt is this (incomplete
I am stuck (at the comment in my code). In original code, the method basically calls itself for every new file. But I can't do that with class, cant call that class within the same class.
So it would help if someone could atleast guide me a little on how to go about here.