From 8fcd245390fea1d9434c39c31723e66f72b21784 Mon Sep 17 00:00:00 2001 From: Danny Palmer Date: Thu, 5 May 2016 02:29:36 -0700 Subject: [PATCH] Bump realm to 0.90.0, fix compat w/ RealmChangeListener --- build.gradle | 2 +- example/build.gradle | 2 +- .../src/main/java/io/realm/RealmBasedRecyclerViewAdapter.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 72ad69c..277e348 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:1.3.0' - classpath "io.realm:realm-gradle-plugin:0.89.1" + classpath "io.realm:realm-gradle-plugin:0.90.0" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/example/build.gradle b/example/build.gradle index c5c6379..b075521 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -7,7 +7,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.1.0-rc1' - classpath "io.realm:realm-gradle-plugin:0.89.1" + classpath "io.realm:realm-gradle-plugin:0.90.0" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/library/src/main/java/io/realm/RealmBasedRecyclerViewAdapter.java b/library/src/main/java/io/realm/RealmBasedRecyclerViewAdapter.java index 8d41d5f..18bab04 100644 --- a/library/src/main/java/io/realm/RealmBasedRecyclerViewAdapter.java +++ b/library/src/main/java/io/realm/RealmBasedRecyclerViewAdapter.java @@ -444,7 +444,7 @@ private void updateRowWrappers() { private RealmChangeListener getRealmChangeListener() { return new RealmChangeListener() { @Override - public void onChange() { + public void onChange(Object element) { if (animateResults && ids != null && !ids.isEmpty()) { updateRowWrappers(); List newIds = getIdsOfRealmResults();