diff --git a/app/src/main/java/com/example/test/mvvmsampleapp/view/adapter/ProjectAdapter.java b/app/src/main/java/com/example/test/mvvmsampleapp/view/adapter/ProjectAdapter.java index 1edc789..897a44f 100755 --- a/app/src/main/java/com/example/test/mvvmsampleapp/view/adapter/ProjectAdapter.java +++ b/app/src/main/java/com/example/test/mvvmsampleapp/view/adapter/ProjectAdapter.java @@ -51,7 +51,7 @@ public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { @Override public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { Project project = projectList.get(newItemPosition); - Project old = projectList.get(oldItemPosition); + Project old = ProjectAdapter.this.projectList.get(oldItemPosition); return project.id == old.id && Objects.equals(project.git_url, old.git_url); }