title: Updating data in ListVIew when Realm data changes
body: <p>I am using Realm in a RN app that is set up like so:</p>
  <pre><code>this.classes = realm.objects('Notebook').sorted('active');
  this.classes.addListener((name, changes) =&gt; {
          console.log(&quot;changed: &quot; + JSON.stringify(changes));
          console.log(&quot;Number of items: &quot; + this.classes.length);
  });
  
  var dataSource = new ListView.DataSource(
          {rowHasChanged: (r1, r2) =&gt; r1.name !== r2.name});
  
  this.state = {
    dataSource: dataSource.cloneWithRows(this.classes),
    src: dataSource
  };
  </code></pre>
  <p>Everything is rendering fine initially. When I insert a new object like this:</p>
  <pre><code>realm.write(() =&gt; {
      realm.create('Notebook', {
          ...
      });
  });
  </code></pre>
  <p>I get the notification in my listener that something has changed. However, what I see is:</p>
  <blockquote>
  <p>changed: {&quot;deletions&quot;:[],&quot;insertions&quot;:[],&quot;modifications&quot;:[]}</p>
  <p>Number of items: 8</p>
  </blockquote>
  <p>I would assume that there should be something listed in &quot;insertions&quot;. Also, the number of items is always the number that existed before adding the new data. Can anyone tell me if I have something set up wrong?</p>