Skip to content

Commit

Permalink
- fix implementation of the equals method for the BaseItem
Browse files Browse the repository at this point in the history
  - FIX #910
  • Loading branch information
mikepenz committed Jul 14, 2020
1 parent 1c6eb13 commit 8a6e0c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ abstract class BaseItem<VH : RecyclerView.ViewHolder> : IItem<VH> {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || javaClass != other.javaClass) return false
val that = other as? AbstractItem<*>?
val that = other as? BaseItem<*>?
return identifier == that?.identifier
}

Expand Down

0 comments on commit 8a6e0c2

Please sign in to comment.