title: Fragment save the state of a listener
body: <p>In an Android Fragment, which is a part of a ViewPager, there is a ListView with EditText for filtering.</p>
  
  <pre><code>filterEditText = (EditText) view.findViewById(R.id.filter_friends);
  filterEditText. addTextChangedListener(textWatcher);
  </code></pre>
  
  <p>When I navigate to another Fragment <strong>ondestroyview</strong> is called and then when I navigate back to this fragment <strong>onCreateView</strong> is called and the filtering doesn't work anymore, though the instance variables still exist.</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      view = inflater.inflate(R.layout.fragment_new_game_facebook, container,
              false);
  
      return view;
  
  }
  </code></pre>
  
  <p>How this situation should be handled correctly?</p>