Hello everyone, I have the following:
// recojo 2 valores del EditText
String valor1 = recullFrom.getText().toString();
String valor2 = recullTo.getText().toString();
// Transformarlos en int para usarlos
int nro1 = Integer.parseInt(valor1);
int nro2 = Integer.parseInt(valor2);
How can I do to verify that value1 and value2 are numbers ??
I need to use them for a random and clear if I put text right now I would take it and peta.
Thanks!