tweak equality check for LbryNotification

This commit is contained in:
Akinwale Ariwodola 2020-08-20 18:45:02 +01:00
parent 1198c2298a
commit e8a0bca5ea
2 changed files with 4 additions and 0 deletions

View file

@ -31,6 +31,7 @@ import lombok.Setter;
import lombok.ToString;
@Data
@EqualsAndHashCode(callSuper = false)
public class NotificationListAdapter extends RecyclerView.Adapter<NotificationListAdapter.ViewHolder> {
private static final String RULE_CREATOR_SUBSCRIBER = "creator_subscriber";

View file

@ -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<LbryNotification> {
private long id;
@EqualsAndHashCode.Include
private long remoteId;
private String title;
private String description;