{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/989","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/989/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/989/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/989/events","html_url":"https://github.com/realm/realm-java/issues/989","id":64581665,"number":989,"title":"Finegrained notifications","user":{"login":"Trikke","id":2961842,"avatar_url":"https://avatars.githubusercontent.com/u/2961842?v=3","gravatar_id":"","url":"https://api.github.com/users/Trikke","html_url":"https://github.com/Trikke","followers_url":"https://api.github.com/users/Trikke/followers","following_url":"https://api.github.com/users/Trikke/following{/other_user}","gists_url":"https://api.github.com/users/Trikke/gists{/gist_id}","starred_url":"https://api.github.com/users/Trikke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trikke/subscriptions","organizations_url":"https://api.github.com/users/Trikke/orgs","repos_url":"https://api.github.com/users/Trikke/repos","events_url":"https://api.github.com/users/Trikke/events{/privacy}","received_events_url":"https://api.github.com/users/Trikke/received_events","type":"User","site_admin":false},"labels":[{"id":151952524,"url":"https://api.github.com/repos/realm/realm-java/labels/S:P2%20Backlog","name":"S:P2 Backlog","color":"dedede","default":false},{"id":224136933,"url":"https://api.github.com/repos/realm/realm-java/labels/T:Feature","name":"T:Feature","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2015-03-26T16:56:51Z","updated_at":"2016-10-27T21:51:09Z","closed_at":null,"body":"Hi Realm devs,\r\n\r\nwe now have the RealmChangeListener to listen for changes if some background thread updates the Realm instance, which is great. But i'd like to put a feature request forward for more fine grained control when a listener can be called. It would be nice if it were possible to add a RealmChangeListener that only fires if a certain class of RealmObject is updated.\r\n\r\nThe issue i have now is that i have multiple fragments for multiple classes of RealmObject (eg. RealmUser, RealmMessage, RealmBeer) open at once, then a background services updates one of the RealmUser instances. Now all the RealmChangeListener are fired, and all fragments are updated individually. While ideally only the one that deals with RealmUser should be updating."},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/256780285","html_url":"https://github.com/realm/realm-java/issues/989#issuecomment-256780285","issue_url":"https://api.github.com/repos/realm/realm-java/issues/989","id":256780285,"user":{"login":"biagionicp","id":17777880,"avatar_url":"https://avatars.githubusercontent.com/u/17777880?v=3","gravatar_id":"","url":"https://api.github.com/users/biagionicp","html_url":"https://github.com/biagionicp","followers_url":"https://api.github.com/users/biagionicp/followers","following_url":"https://api.github.com/users/biagionicp/following{/other_user}","gists_url":"https://api.github.com/users/biagionicp/gists{/gist_id}","starred_url":"https://api.github.com/users/biagionicp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biagionicp/subscriptions","organizations_url":"https://api.github.com/users/biagionicp/orgs","repos_url":"https://api.github.com/users/biagionicp/repos","events_url":"https://api.github.com/users/biagionicp/events{/privacy}","received_events_url":"https://api.github.com/users/biagionicp/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T21:51:09Z","updated_at":"2016-10-27T21:51:09Z","body":"@cmelchior  I don't think `RealmChangeListener.onChange()` is being called when I set an `Integer` field in the `RealmObject` to null by doing `<RealmObject subclass>.setField(null)`. Is that expected behavior?"}}
{"actor":{"display_login":"biagionicp"}}