How to update contents of, and then refresh, ScrollView? #417
-
|
Let's say I have a ScrollView instance, named And assuming I was successful in rewriting my ScrollView's content, how do I get it to refresh on screen? Would it be |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
ScrollViews have an |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the tip. I was able to invoke the update() method, but I don't see anything changing in the TUI. Do I need to do a refresh manually? I did notice that I see a |
Beta Was this translation helpful? Give feedback.
ScrollViews have an
updatemethod that takes two arguments: therenderableandhome, which is a boolean that is defaulted to true. If it is true, it moves the ScrollView back to the top.