views:

37

answers:

3

How can I display an Integer value in TextView?

A: 
Falmarri
+2  A: 
TextView tv = new TextView(this);
tv.setText(String.valueOf(number));

or

tv.setText(""+number);
anmustangs