get text from a view android estudio code example
Example: get text from textview android
String a = tv.getText().toString();
int A = Integer.parseInt(a);
String a = tv.getText().toString();
int A = Integer.parseInt(a);