Cannot change EditText in onCreateView
<p>I want to reset my textinput everytime my fragment gets invoked.</p>

<p>This is the end of my onCreateView-method:</p>

<pre><code>    txtValue.setText("");
    Log.d("debug", "Hello");

    txtValue.addTextChangedListener(tx);
    tx.onTextChanged(txtValue.getText(), 0, 0, 0);      

    InputMethodManager mgr = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
    mgr.toggleSoftInput(0, 0);
</code></pre>

<p>I get Hello everytime but the text never changes.</p>
