diff --git a/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java b/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java index 555fa10b..dd3b81dc 100644 --- a/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java +++ b/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java @@ -31,6 +31,7 @@ import lombok.Setter; import lombok.ToString; @Data +@EqualsAndHashCode(callSuper = false) public class NotificationListAdapter extends RecyclerView.Adapter { private static final String RULE_CREATOR_SUBSCRIBER = "creator_subscriber"; diff --git a/app/src/main/java/io/lbry/browser/model/lbryinc/LbryNotification.java b/app/src/main/java/io/lbry/browser/model/lbryinc/LbryNotification.java index 4e3823e5..1141f6c4 100644 --- a/app/src/main/java/io/lbry/browser/model/lbryinc/LbryNotification.java +++ b/app/src/main/java/io/lbry/browser/model/lbryinc/LbryNotification.java @@ -5,10 +5,13 @@ import java.util.Date; import io.lbry.browser.model.Claim; import lombok.Data; +import lombok.EqualsAndHashCode; @Data +@EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true) public class LbryNotification implements Comparator { private long id; + @EqualsAndHashCode.Include private long remoteId; private String title; private String description;