You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/feature_base_adapter/src/main/java/com/example/util/simpletimetracker/feature_base_adapter/record/RecordViewData.kt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -40,19 +40,20 @@ sealed class RecordViewData : ViewHolderType {
40
40
overridevaltimeStartedTimestamp:Long,
41
41
overridevaltimeEndedTimestamp:Long,
42
42
overridevalname:String,
43
-
overridevaltagName:String,
44
43
overridevaltimeStarted:String,
45
44
overridevaltimeFinished:String,
46
45
overridevalduration:String,
47
46
overridevaliconId:RecordTypeIcon,
48
47
@ColorInt overridevalcolor:Int,
49
-
overridevalcomment:String
50
48
) : RecordViewData() {
51
49
50
+
overrideval tagName:String=""
51
+
overrideval comment:String=""
52
+
52
53
overridefungetUniqueId(): Long {
53
54
var result =31L
54
-
result =31L* result +timeStarted.hashCode()
55
-
result =31L* result +timeFinished.hashCode()
55
+
result =31L* result +timeStartedTimestamp.hashCode()
56
+
result =31L* result +timeEndedTimestamp.hashCode()
0 commit comments