loops - How can i do calculations on Textview setText Android -
how can add value of n 2 ?, ie., n+2
textview output should 4 .
int n=2; private void tvm() { if (n<=maxcount) { n++; textview.settext("counter:"+ n+2); }
int n=2; private void tvm() { if (n<=maxcount) { textview.settext("counter:"+ string.valueof( n+2)); n++; }
Comments
Post a Comment