Hi everyone,
Is there a way to get all instances of a class under a composable. For example, in the image below, I want to access all instances of
ChildState
in the
ParentState
class.
m
manueldidonna
01/22/2022, 12:00 PM
Why would you want to do it?
Anyway, It has nothing to do with compose, the parameters which you pass to the composable functions are used by them to construct a UI tree and nothing else, ParentState and ChildState are classes that you own, you decide how they interact
l
linus muema
01/22/2022, 12:43 PM
Yeah...I have decided to pass the children States as parameters to the parent