Closed ParthivMangukiya closed 6 years ago
@iamareebjamal Please Review. I found that changeListener of RealmObject does not call if any object of spawnList is modify. so I've added getSpeaker method in realmRepository which return speaker as RealmResult than took the first element on Transformation.map method.
getSpeaker() method which returns Speaker is no longer used should i remove it?
Please rename the method to getSpeakersForName
@iamareebjamal Should I change method name of getSpeakerAsRealmResults or getSpeaker of SpeakerDetailViewModel or both?
Should I remove old getSpeaker() method of RealmDataRepository which returns Speaker not RealmResults
Of getSpeakerAsRealmResults
And no, don't delete that method for now
@iamareebjamal done, Please Review.
Please ensure that #2363 is not occurring because the code removed was fixing that
@iamareebjamal yes i am aware of that issue. I'd tested it. here is the screenshot for the same.
Fixes #2380
Changes: Added getSpeakerAsRealmResults method which return Speaker as RealmResult Instead of Realm Objects.