title: Know which Table changed in global realmChangeListener
body: <p>I am using Realm as database for my app. </p>
  
  <p>I have few tables in my database say- Table1, Table2, Table3, Table4 and Table5.
  <br>
  I have same number of Activities as tables, each of which displays the data from one of the tables. 
  <br><br>For eg. 
  <br>
  Activity1 would display data from Table1 
  <br>
  Activity2 would display data from Table2 
  <br>
  Activity3 would display data from Table3 and so on 
  <br></p>
  
  <p>To update respective activity as soon as some data in its corresponding table changes, I have registered a RealmChangeListener with my realm instance. I instantiate Realm in a central class. I don't want to register RealmChangeListener in all the individual classes as registering it once with the central realm instance would be more maintainable.</p>
  
  <p>However, in the onChange callback of the RealmChangeListener, I get the Realm object back and there is no way for me to know that data in which table actually changed. </p>
  
  <p>I am adding the code of how I instantiate realm and register the changeListener below.</p>
  
  <p>MyApplication.java</p>
  
  <pre><code>public class MyApplication extends Application{
  
          @Override
          public void onCreate() {
          super.onCreate();
          MainClass mainClass = new MainClass(getApplicationContext());
        }
  }
  </code></pre>
  
  <p>MainClass.java</p>
  
  <pre><code>public class MainClass{
     public MainClass(Context context){
         RealmConfiguration config = new RealmConfiguration.Builder(context).build();
         Realm realm = Realm.getInstance(config);
         realm.addChangeListener(new RealmChangeListener&lt;Realm&gt;() {
              @Override
              public void onChange(Realm element) {
  
                  //is it possible to know here that data for which table changed?
  
              }
          });
     }
  }
  </code></pre>
  
  <p>My goal is to send a broadcast via LocalBroadcastManager with information regarding which table changed from onChange callback. All the Activities would be listening for this broadcast and if the data in the table associated with the listening activity changed then it would update itself. Rest of the activities would just ignore the broadcast. My aim is to monitor database changes just from one place in my app and send only one Broadcast for a database change. The business logic to deal with the database change will depend on the information contained in the broadcast.</p>
  
  <p>My question would be, is it possible to get notified regarding what table was modified in the RealmChangeListener registered with the global realm? If not, then are there any alternatives to achieve what I want to do?</p>
  
  <p>I am working with:</p>
  
  <p>Realm - 1.0.1<br>
  Android Studio - 2.1.2<br>
  Min SDK - 19<br>
  Target SDK - 23<br></p>
  
  <p>I am testing my app on android 5.1.1</p>
  
  <p>Thanks for all the help in advance.</p>