I a list of items in which every item is formed by a text and a button.
When I press the button I want to change the content of the text.
the list itself is dynamic and can grow or get smaller.
How to achieve this? Is there some “index” attribute on the list? Or any other way to get the correct text to update?