I have a status component inside a list view. It looks like this:
I want the color of the dot to be dependent on the index of the list item. However, I cannot access the index of the list view inside the status component:
I want to use i (which normally is used to reference the list view item) to use the right color. But the i now references the index of the used status.
Is there a way to get this to work?