2
I have a question about the value store coming from EditText
for attributes of type int
of a class. For attributes of the type String
I do so:
objEquipamento.setMarcaModelo(edtMarcaModelo.getText().toString());
But when my attribute is like int
? and I want to write a number?
I have to convert the value or there is some method to int
?
very good this tip in xml, thank you
– Vinicius