IntervalsFragment/IntervalStatisticsModel refactoring: better performance with AndroidViewModel (it doesn't recreate the model every track point done anymore).

Also, it doesn't jump anymore. Fixes #669.
This commit is contained in:
Román Martínez
2021-04-03 16:32:53 +02:00
parent 8713eb3d0c
commit 978206dee4
7 changed files with 162 additions and 123 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
android:layout_marginEnd="8dp"
android:background="@color/stats_separator" />
<ListView
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/interval_list"
android:layout_width="match_parent"
android:layout_height="match_parent"