Keep the code is the settext the line
How to solve the
CodePudding user response:
Settext int value 0 error string "0" normal??Who is going to explain?
CodePudding user response:
Settext int value 0 is point to address 0 string, the string "0" is to "0" direct assignmentCodePudding user response:
TextView. SetText (0), 0 is int, string is set. The XML corresponding string name=0,Such as a string. The XML
TextView. SetText (R.s tring. Name)
The textView. SetText (" 0 "), is directly set a string