SyntaxFix
Write A Post
Hire A Developer
Questions
You are trying to set int value to TextView so you are getting this issue. To solve this try below one option
TextView
option 1:
tv.setText(no+"");
Option2:
tv.setText(String.valueOf(no));