I have a custom model class ContentTreeItem which has a parent folder and children list. Furthermore, which can also contain multiple sub folder and files.
I am unable to understand how do I implement it with Bonsai? My LazyColumn implementation is below:
I have a custom model class
ContentTreeItem
which has a parent folder and children list. Furthermore, which can also contain multiple sub folder and files.I am unable to understand how do I implement it with Bonsai? My
LazyColumn
implementation is below:The list of files are from an API so I cannot check if it's a Directory or a File.