Hi everyone, Is there a way to get all instances o...
# compose
l
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
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
Yeah...I have decided to pass the children States as parameters to the parent