How to display the value of a variable on the screen?

前端 未结 5 757
别那么骄傲
别那么骄傲 2021-01-03 23:20

I know this is very basic question, but I need to know, how I can display the contents of a variable on the screen.

Do I use a textview in my layout?

I have

5条回答
  •  礼貌的吻别
    2021-01-03 23:29

    In addition, if you want to concatenate a string and a variable, you can use the "+" operator as you would do in System.out.print

提交回复
热议问题