title: How to prevent editText from auto filling text when fragment is restored from saved instance?
body: <p>I have an activity which holds and shows multiple fragments. </p>
  
  <p>When i re-enter the fragment it auto fills text in all the editTexts. The same text for all fields as well.</p>
  
  <p>Example:</p>
  
  <p><strong>Open fragment and fill in text in the two editTexts:</strong><br>
  CustomEditText1: [______]<br>
  CustomEditText2: [_acb__]<br>
  CustomEditText3: [_qwe__]</p>
  
  <p><strong>Click back button and re-enter the fragment</strong><br>
  CustomEditText1: [_qwe__]<br>
  CustomEditText2: [_qwe__]<br>
  CustomEditText3: [_qwe__]</p>
  
  <p>This is my overwritten methods in the fragment:</p>
  
  <pre><code>public AddBookingFragment() {
      // Required empty public constructor
  }
  
  @Override
  public void onAttach(Context context) {
      super.onAttach(context);
      tabsActivity = (TabsActivity) getActivity();
  }
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
      View view = inflater.inflate(R.layout.fragment_add_booking, container, false);
  
      lastNameEditText = (NASEditText) view.findViewById(R.id.nas_add_booking_last_name);
      pnrEditText = (NASEditText) view.findViewById(R.id.nas_add_booking_pnr);
  
      addButton = (NASButton) view.findViewById(R.id.nas_add_booking_add_button);
      scanButton = (NASButton) view.findViewById(R.id.nas_add_booking_scan_button);
  
      confirmationBox = (LinearLayout) view.findViewById(R.id.nas_add_booking_confirmation_box);
      confirmationText = (NASHeaderAndSubtext) view.findViewById(R.id.nas_add_booking_confirmation_text);
      confirmationBox.setVisibility(View.GONE);
  
      bindButtons();
  
      FontHelper.setFont(container, tabsActivity);
      return view;
  }
  </code></pre>
  
  <p>By debugging I can see that the editText is setting the text by breakpointing inside the overrided OnTextChanged.</p>
  
  <p>This is the stacktrace from that breakpoint:
  <a href="https://i.stack.imgur.com/GrmI0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GrmI0.png" alt="Stacktrace"></a>
  <br>(NASEditText is my custom view)</p>
  
  <p>Two problems / questions:</p>
  
  <ol>
  <li>How can I prevent the activity/fragment/editText from filling in the text in the fields when fragment is restored?</li>
  <li>Why is it filling in the same text for all fields?</li>
  </ol>