title: ListFragment - when adapter data change list positions are overridden and not added
body: <p>I'm using SherlockListFragment(whichis the same as ListFragment) for displaying sms conversation list</p>
  
  <p>Here is the code</p>
  
  <pre><code>   public static class TitlesFragment extends SherlockListFragment 
  {
       static ConversationAdapter adapter;
       static List&lt;String&gt;    msgList;
       static Activity        activity;
       static ListView listView;
  
         @Override
         public void onActivityCreated(Bundle savedInstanceState) {
         super.onActivityCreated(savedInstanceState);
  
          DataGetters dataGetters = new DataGetters();
          activity = getActivity();
          msgList = dataGetters.getCONVERSATIONS(activity.getApplicationContext());
  
         adapter = new ConversationAdapter(activity, msgList);
         setListAdapter(adapter);
  
  }
  </code></pre>
  
  <p>Code above prints all current sms conversations
  like this:</p>
  
  <p><img src="https://i.stack.imgur.com/56opk.png" alt="enter image description here"></p>
  
  <p>I'm refreshing adapter from code below by calling adapter.notifyDataSetChanged(); witch is called when new sms is received</p>
  
  <pre><code>public class ReceiverClass extends AsyncTask&lt;String, Void, String&gt; {
  
  @Override
  protected String doInBackground(String... params) {
  
      Thread.sleep(2000);
  
  return null;
  }
  
  @Override
  protected void onPostExecute(String result) {
  
  
        TitlesFragment.adapter.notifyDataSetChanged();
  
  }
  </code></pre>
  
  <p>But fallowing code overides existing list view items insted of adding new list item position like this:</p>
  
  <p><img src="https://i.stack.imgur.com/2RcOE.png" alt="enter image description here"></p>
  
  <p>When i activity is recreated i get what i want but only then: example:
  <img src="https://i.stack.imgur.com/cqpGf.png" alt="enter image description here"></p>