Terminal Like Scrolling Text Android

与世无争的帅哥 提交于 2019-12-11 20:45:46

问题


I'm trying to get a text scrolling by terminal like effect for an application I'm writing. The problem is that the textview only updates after all the text has been added.

How can I get it so it updates every line?


回答1:


Call textView.invalidate() to force it to redraw itself.



来源:https://stackoverflow.com/questions/5070657/terminal-like-scrolling-text-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!