It cannot be dereferenced because int isn't an object. Integer however is.
To solve your problem, you can use either of the following: setText(String.valueOf(23)) or setText( "" + 23)
Type: Posts; User: newbie
It cannot be dereferenced because int isn't an object. Integer however is.
To solve your problem, you can use either of the following: setText(String.valueOf(23)) or setText( "" + 23)