Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个带有自定义组和子视图的可扩展列表视图。每个组和孩子都有一个复选框。请告诉我如何分别为组和子设置自定义 onCheckedChangedListener。如果选中复选框,我想获取父视图的标签。
这个例子对我有用。
你可以在这里下载。
希望能帮到你。