|
20 | 20 | android:layout_height="wrap_content"
|
21 | 21 | app:layout_constraintStart_toStartOf="parent"
|
22 | 22 | app:layout_constraintTop_toTopOf="parent"
|
23 |
| - android:text="@{runningHistory.date}" |
| 23 | + android:text="@{Long.toString(runningHistory.date)}" |
24 | 24 | tools:text="2022/09/11" />
|
25 | 25 |
|
26 | 26 | <TextView
|
|
37 | 37 | android:id="@+id/tv_total_running_time"
|
38 | 38 | android:layout_width="wrap_content"
|
39 | 39 | android:layout_height="wrap_content"
|
40 |
| - android:text="@{runningHistory.totalRunningTime}" |
| 40 | + android:text="@{Integer.toString(runningHistory.totalRunningTime)}" |
41 | 41 | app:layout_constraintBottom_toBottomOf="@id/tv_label_total_running_time"
|
42 | 42 | app:layout_constraintEnd_toEndOf="parent"
|
43 | 43 | app:layout_constraintTop_toTopOf="@id/tv_label_total_running_time"
|
|
79 | 79 | android:layout_width="wrap_content"
|
80 | 80 | android:layout_height="wrap_content"
|
81 | 81 | tools:text="17:00"
|
82 |
| - android:text="@{runningHistory.startedAt}" |
| 82 | + android:text="@{Long.toString(runningHistory.startedAt)}" |
83 | 83 | app:layout_constraintEnd_toStartOf="@id/view_vertical_partition_line"
|
84 | 84 | app:layout_constraintBottom_toBottomOf="@id/view_horizontal_partition_line"
|
85 | 85 | android:layout_marginEnd="50dp"
|
|
98 | 98 | android:layout_width="wrap_content"
|
99 | 99 | android:layout_height="wrap_content"
|
100 | 100 | tools:text="19:22"
|
101 |
| - android:text="@{runningHistory.finishedAt}" |
| 101 | + android:text="@{Long.toString(runningHistory.finishedAt)}" |
102 | 102 | app:layout_constraintEnd_toEndOf="parent"
|
103 | 103 | app:layout_constraintBottom_toBottomOf="@id/view_horizontal_partition_line"
|
104 | 104 | android:layout_marginEnd="50dp"
|
|
116 | 116 | android:layout_width="wrap_content"
|
117 | 117 | android:layout_height="wrap_content"
|
118 | 118 | tools:text="11.7km"
|
119 |
| - android:text="@{runningHistory.totalDistance}" |
| 119 | + android:text="@{Double.toString(runningHistory.totalDistance)}" |
120 | 120 | app:layout_constraintEnd_toStartOf="@id/view_vertical_partition_line"
|
121 | 121 | app:layout_constraintTop_toBottomOf="@id/view_horizontal_partition_line"
|
122 | 122 | android:layout_marginTop="24dp"
|
|
135 | 135 | android:layout_width="wrap_content"
|
136 | 136 | android:layout_height="wrap_content"
|
137 | 137 | tools:text="6.3km/h"
|
138 |
| - android:text="@{runningHistory.pace}" |
| 138 | + android:text="@{Double.toString(runningHistory.pace)}" |
139 | 139 | app:layout_constraintTop_toBottomOf="@id/view_horizontal_partition_line"
|
140 | 140 | app:layout_constraintEnd_toEndOf="parent"
|
141 | 141 | android:layout_marginTop="24dp"
|
|
0 commit comments