开发者

How can I dynamically generate/draw a UI in Android?

开发者 https://www.devze.com 2023-01-08 23:33 出处:网络
I have an in-memory representation of a basic tree structure. I want to dynamically generate a representation of this tree structure in the UI and allow users to click on nodes to reveal (text-based)

I have an in-memory representation of a basic tree structure. I want to dynamically generate a representation of this tree structure in the UI and allow users to click on nodes to reveal (text-based) details about the node. The UI would c开发者_运维问答onist of icons for node types linked via branches. How would you suggest I approach this? All the UI elements I have worked with are statically defined in XML res files so I'm not sure where to begin..

thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号