fix some LocalContact related warnings
This commit is contained in:
parent
ba108340b1
commit
79e46c43d5
|
@ -25,4 +25,9 @@ data class LocalContact(
|
||||||
@ColumnInfo(name = "company") var company: String,
|
@ColumnInfo(name = "company") var company: String,
|
||||||
@ColumnInfo(name = "job_position") var jobPosition: String,
|
@ColumnInfo(name = "job_position") var jobPosition: String,
|
||||||
@ColumnInfo(name = "websites") var websites: ArrayList<String>,
|
@ColumnInfo(name = "websites") var websites: ArrayList<String>,
|
||||||
@ColumnInfo(name = "ims") var IMs: ArrayList<IM>)
|
@ColumnInfo(name = "ims") var IMs: ArrayList<IM>) {
|
||||||
|
|
||||||
|
override fun equals(other: Any?) = this.id == (other as? LocalContact?)?.id
|
||||||
|
|
||||||
|
override fun hashCode() = id ?: 0
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue