User Activity

I would like to trigger a complete redraw / invalidate of the current screen content. So far I have only found https://community.st.com/s/question/0D53W00000Ug1dASAR/touchgfx-invalidateredraw-entire-viewscreen. Calling view.getRootContainer().invalid...
I want to change the content of a wildcard depending on the previous state. e.g. If the content of the TextArea is "Off" the content should be changed to "On" when the function is called. If the content is "On", it should be changed to "Off".