Copy String from an android from EditText into String variable on Android
<p>I have a class that creates a view to gather data via a function <code>getView()</code> that provides a view with an EditText.</p>

<p>This class has also has variable <code>answer</code>.
When the user chances the EditText I want to store the content of the EditText in <code>answer</code>.</p>

<p>If I would use an onKeyListener I fear that the answer will probably get stored before the last letter is entered.</p>

<p>Is there a good way to handle this in the <code>getView()</code> function via some other listener?</p>
