Append text to a TextView datatype

后端 未结 5 1160
陌清茗
陌清茗 2021-02-05 08:39

I\'m a beginner android/java programmer and my background is primarily in C++ and C#. In C# if I have a string variable called myWord and it has a value of \"Hello\" I can appen

5条回答
  •  面向向阳花
    2021-02-05 09:05

    You can call append() on a TextView object.

    In your case it would be: displayTextView.append("Bob!");

提交回复
热议问题