summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-08-26 21:01:53 +0200
committerGitHub <noreply@github.com>2022-08-26 21:01:53 +0200
commitec92722c043cd30bfe9c21171b2a3f62c44884d7 (patch)
treea0f1b800dc2f9e2af21219b00fd7e668b4a34266 /ui
parent38dcfa9d35d96bf1ffdd750379a95339458535c1 (diff)
parent28a397c8979f143fba74ea5d385e74bae62c6673 (diff)
downloadAntennaPod-ec92722c043cd30bfe9c21171b2a3f62c44884d7.zip
Merge pull request #6039 from ByteHamster/statistics-performance
Make statistics loading more efficient
Diffstat (limited to 'ui')
-rw-r--r--ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java
index e3251a96b..2116a17a4 100644
--- a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java
+++ b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java
@@ -85,9 +85,7 @@ public class YearStatisticsListAdapter extends RecyclerView.Adapter<RecyclerView
item.year = lastDataPoint / 12;
item.month = lastDataPoint % 12 + 1;
statisticsData.add(item); // Compensate for months without playback
- System.out.println("aaaaa extra:" + item.month + "/" + item.year);
}
- System.out.println("aaaaa add:" + statistic.month + "/" + statistic.year);
statisticsData.add(statistic);
lastDataPoint = (statistic.month - 1) + statistic.year * 12;
}