You can't set the text of an editText without converting this Integer to a String.