forked from upstream-mirrors/OpenTracks
Aggregated statistics: updated PlantUML and handle empty list. (#296)
This commit is contained in:
@@ -20,6 +20,7 @@ public class AggregatedStatisticsActivity extends AbstractActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
listView = findViewById(R.id.aggregated_stats_list);
|
||||
listView.setEmptyView(findViewById(R.id.aggregated_stats_empty_view));
|
||||
|
||||
final AggregatedStatisticsModel viewModel = new ViewModelProvider(this).get(AggregatedStatisticsModel.class);
|
||||
viewModel.getAggregatedStats().observe(this, new Observer<AggregatedStatistics>() {
|
||||
|
||||
Reference in New Issue
Block a user