I have a problem, when I want to reference in my main activity a value of an object of another activity, it returns null even though I used inflater. This is my code:
LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
final View view = inflater.inflate(R.layout.list_item ,null);
final EditText et1 = (EditText)view.findViewById(R.id.et1);
String valor = et1.getText().toString();
When I show the value variable, it returns null even though I enter the data in the emulator.