The EditText appears to have an issue with resetting text in onCreateView
. So the solution here is to reset the text in onResume
. This works.
Also there’s an issue in onActivityCreated. I reset edittext’s content in onStart and it works. [credits to @savepopulation]