Reset Android DialogFragment
<p>I am using a custom DialogFragment to let a user change his login credentials. There are some text fields and two buttons (save/cancel). The layout is set in DialogFragment's onCreateView method. </p>

<p>If I open the dialog text fields are filled with default values. When the user changes text in a text field and clicks the cancel button the dialog is dismissed. Next time the dialog opens the text field changed before does not contain the default value as i expected but the text the user changed before. The text fields are not reset. This is almost the same problem mentioned here <a href="http://stackoverflow.com/questions/7482448/reset-an-android-dialog">Reset an Android Dialog</a>. The problem is that the solution provided refers to a Dialog which is deprecated in API level 11 and i cannot use onPrepareDialog with a DialogFragment.</p>

<p>Is there a similar way to reset the content of a DialogFragment?</p>
