Aggregated statistics: updated PlantUML and handle empty list. (#296)

This commit is contained in:
Román Martínez
2020-06-20 19:02:02 +02:00
committed by GitHub
parent 924ef3313e
commit 8ddadb8e6d
4 changed files with 32 additions and 0 deletions
@@ -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>() {