Android Question ListView with child nodes

AzureCrystal

Member
Licensed User
Longtime User
Is there a way of adding child nodes to a B4A ListView like you can with B4J? I need to display a "TreeView" type list where the user clicks on a category, drills down to a subcategory, then arrives at the actual selection. Something like this:
B4X:
Fruit
--Apples
---Red
---Granny
(etc...)

Grateful thanks in advance for any help, I searched the documentation and forum and it is not clear how accomplish this, although it seems a simple ListView with child nodes will suffice. Thanks!
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Is there a way of adding child nodes to a B4A ListView like you can with B4J?
No. You can use a CustomListView; here you have much more possibilitie.
 
Upvote 0

AzureCrystal

Member
Licensed User
Longtime User
No. You can use a CustomListView; here you have much more possibilitie.
I was looking at that, I tend to be a Zen coder and follow the KISS principle, trying to use something that will not require a lot of coding or maintenance, revisiting CustomListView now, thank you.
 
Upvote 0
Top