diff options
author | ByteHamster <info@bytehamster.com> | 2022-08-26 00:10:51 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-08-26 20:26:28 +0200 |
commit | 28a397c8979f143fba74ea5d385e74bae62c6673 (patch) | |
tree | 6aae4c25eded2930161fe8bf125927ae79bb9420 /ui/statistics | |
parent | 6e199de7ab6ba6d31f6cc0db97ccf9ab3a73c532 (diff) | |
download | AntennaPod-28a397c8979f143fba74ea5d385e74bae62c6673.zip |
Make statistics loading more efficient
Diffstat (limited to 'ui/statistics')
-rw-r--r-- | ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years/YearStatisticsListAdapter.java | 2 |
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; } |