Zach Klippenstein (he/him) [MOD]
09/15/2020, 7:44 PMDialog, the subcomposition has no associated layout in the parent composition, so that’s easy. However, for case where a particular LayoutNode is used as the “parent” for one or more subcompositions (e.g. WithConstraints, LazyColumn), the subcomposition is effectively a child of a particular LayoutNode that provides constraints for the subcompositions, and so the subcomposition should be rendered by Radiography as a child of that LayoutNode. Right now I’m thinking of just guessing and using some heuristic like “assume all subcompositions are “used” by the next child LayoutNode in the group tree traversal under the same common ancestor node”.
I am really curious how yall are solving this problem for LayoutInspector, which I would imagine has to solve the same problem.