title: Android - Blank fragment when returning from backstack
body: <p>I have a view that shows a List of Properties, at the bottom of the screen there's a button that opens a fragment containing a MapView.</p>
  
  <pre><code>  @Override
  public void onClick(View v) {
      switch (v.getId()) {
          case R.id.find_property_btn_map:
  
              PropertyMapFragment fragment = PropertyMapFragment.newInstance(false, null);
  
              getActivity().getSupportFragmentManager().beginTransaction()
                      .addToBackStack(null)
                      .replace(((ViewGroup) getView().getParent()).getId(), fragment, PropertyMapFragment.class.getSimpleName())
                      .commit();
  
              break;
      }
  }
  </code></pre>
  
  <p>The onCreateView method for my Properties fragments is as follows</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
      mRootView = inflater.inflate(R.layout.fragment_properties_list, container, false);
      getmBtnMap().setOnClickListener(this);
      getmBtnSaveSearch().setOnClickListener(this);
      getmBtnSort().setOnClickListener(this);
      getmListView().setAdapter(getPropertyAdapter());
      getmListView().setOnItemClickListener(this);
      getmListView().setOnScrollListener(this);
      getmListView().setScrollingCacheEnabled(false);
  
      searchProperties();
  
      return mRootView;
  }
  </code></pre>
  
  <p><code>searchProperties();</code> takes care of calling a Web Service and filling the <code>ArrayAdapter</code>.</p>
  
  <p>The thing is that, when I open the <code>MapFragment</code> and then press the back button, my <code>Property fragment</code> is blank and the buttons do not respond to <code>onClick</code> events.</p>
  
  <p>I tried debugging and saw that <code>onCreateView()</code> is being called when coming back to <code>Property fragment</code>, but the buttons are no longer working and the <code>listview</code> is nowhere to be seen.</p>
  
  <p>What am I doing wrong?</p>